Adapt manual names in emacs-news-mode
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize): Allow hyphen in manual names.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user