From: Michael Albinus Date: Fri, 9 Dec 2022 14:53:00 +0000 (+0100) Subject: Adapt manual names in emacs-news-mode X-Git-Tag: emacs-29.0.90~1282 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fbd12ff49410bbc150e677b527ca4939ffcaf5f;p=emacs.git Adapt manual names in emacs-news-mode * lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize): Allow hyphen in manual names. --- diff --git a/lisp/textmodes/emacs-news-mode.el b/lisp/textmodes/emacs-news-mode.el index ebb31da9cf4..26f8f610eff 100644 --- a/lisp/textmodes/emacs-news-mode.el +++ b/lisp/textmodes/emacs-news-mode.el @@ -226,7 +226,7 @@ untagged NEWS entry." ;; Do manual references. (goto-char (point-min)) (search-forward "\f" nil t) - (while (re-search-forward "\"\\(([a-z0-9]+)[ \n][^\"]\\{1,80\\}\\)\"" + (while (re-search-forward "\"\\(([a-z0-9-]+)[ \n][^\"]\\{1,80\\}\\)\"" nil t) (buttonize-region (match-beginning 1) (match-end 1) (lambda (node) (info node))