]> git.eshelyaron.com Git - emacs.git/commitdiff
Make emacs-news-next-untagged-entry push the mark
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 16 Apr 2022 14:11:45 +0000 (16:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 16 Apr 2022 14:11:45 +0000 (16:11 +0200)
* 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

index 88b4740ac86bb6323c06ddf192e3564b56345ab3..340187e5fd4c472a77a1de7d7e0c0e805acc5910 100644 (file)
               (setq found t))))))
     (if found
         (progn
+          (push-mark start)
           (message "Untagged entry")
           (beginning-of-line)
           t)