From 4f1612188b331be0a5caeb8d3cb7a8aec9392dab Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 16 Apr 2022 16:11:45 +0200 Subject: [PATCH] Make emacs-news-next-untagged-entry push the mark * lisp/textmodes/emacs-news-mode.el (emacs-news-next-untagged-entry): Push the mark for easier navigation back to where we were. --- lisp/textmodes/emacs-news-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/textmodes/emacs-news-mode.el b/lisp/textmodes/emacs-news-mode.el index 88b4740ac86..340187e5fd4 100644 --- a/lisp/textmodes/emacs-news-mode.el +++ b/lisp/textmodes/emacs-news-mode.el @@ -107,6 +107,7 @@ (setq found t)))))) (if found (progn + (push-mark start) (message "Untagged entry") (beginning-of-line) t) -- 2.39.2