projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36bc69
)
Adapt manual names in emacs-news-mode
author
Michael Albinus
<michael.albinus@gmx.de>
Fri, 9 Dec 2022 14:53:00 +0000
(15:53 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Fri, 9 Dec 2022 14:53:00 +0000
(15:53 +0100)
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
Allow hyphen in manual names.
lisp/textmodes/emacs-news-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/emacs-news-mode.el
b/lisp/textmodes/emacs-news-mode.el
index ebb31da9cf4832e213447034add3040ba0daee41..26f8f610eff7e1144f964e1d0a54a5806cc2a5cb 100644
(file)
--- 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))