diff --git a/lisp/textmodes/emacs-news-mode.el b/lisp/textmodes/emacs-news-mode.el index 05a228481b8..e793d7a3516 100644 --- a/lisp/textmodes/emacs-news-mode.el +++ b/lisp/textmodes/emacs-news-mode.el @@ -309,7 +309,7 @@ Only such HEADINGs are accepted in interactive invocations." nil t)) emacs-news-mode) (goto-char (point-min)) - (when (re-search-forward (concat "^*+ " (regexp-quote heading)) nil t) + (when (re-search-forward (concat "^*+ " (regexp-quote heading) "$") nil t) (beginning-of-line))) (defun emacs-news-open-line (n)