branch: externals/ement commit 54aac8c068e8efa656aeb684b2dc8477dd07b193 Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Tidy: Compilation warning See <https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01406.html>. --- ement-room.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ement-room.el b/ement-room.el index 00482bb8ea..a7eb288db0 100644 --- a/ement-room.el +++ b/ement-room.el @@ -2628,7 +2628,10 @@ Also, mark room's buffer as unmodified." (interactive) (if-let ((fully-read-pos (when ement-room-fully-read-marker (ewoc-location ement-room-fully-read-marker)))) - (setf (point) fully-read-pos (window-start) fully-read-pos) + (with-suppressed-warnings ((obsolete point)) + ;; I like using `point' as a GV, and I object to its being obsoleted (and said so + ;; on emacs-devel). + (setf (point) fully-read-pos (window-start) fully-read-pos)) ;; Unlike the fully-read marker, there doesn't seem to be a ;; simple way to get the user's read-receipt marker. So if ;; we haven't seen either marker in the retrieved events, we