diff options
| author | Michael Albinus | 2022-12-09 15:53:00 +0100 |
|---|---|---|
| committer | Michael Albinus | 2022-12-09 15:53:00 +0100 |
| commit | 5fbd12ff49410bbc150e677b527ca4939ffcaf5f (patch) | |
| tree | 0b0b663352b15ef465b762db47fb11ab66853e2e | |
| parent | b36bc6926715de72bc84303c95772c06c29b33db (diff) | |
| download | emacs-5fbd12ff49410bbc150e677b527ca4939ffcaf5f.tar.gz emacs-5fbd12ff49410bbc150e677b527ca4939ffcaf5f.zip | |
Adapt manual names in emacs-news-mode
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
Allow hyphen in manual names.
| -rw-r--r-- | lisp/textmodes/emacs-news-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 226 | ;; Do manual references. | 226 | ;; Do manual references. |
| 227 | (goto-char (point-min)) | 227 | (goto-char (point-min)) |
| 228 | (search-forward "\f" nil t) | 228 | (search-forward "\f" nil t) |
| 229 | (while (re-search-forward "\"\\(([a-z0-9]+)[ \n][^\"]\\{1,80\\}\\)\"" | 229 | (while (re-search-forward "\"\\(([a-z0-9-]+)[ \n][^\"]\\{1,80\\}\\)\"" |
| 230 | nil t) | 230 | nil t) |
| 231 | (buttonize-region (match-beginning 1) (match-end 1) | 231 | (buttonize-region (match-beginning 1) (match-end 1) |
| 232 | (lambda (node) (info node)) | 232 | (lambda (node) (info node)) |