diff options
| author | Dave Love | 1999-01-25 18:58:31 +0000 |
|---|---|---|
| committer | Dave Love | 1999-01-25 18:58:31 +0000 |
| commit | d62f8b134bc9b1e1a85f1cee8fc9a0ae27082570 (patch) | |
| tree | 1122284669ca1366b6d0e87d5f4c8d35aadf967e | |
| parent | 26c529891a9c3ec3de1bf9af1029a928b2961ed7 (diff) | |
| download | emacs-d62f8b134bc9b1e1a85f1cee8fc9a0ae27082570.tar.gz emacs-d62f8b134bc9b1e1a85f1cee8fc9a0ae27082570.zip | |
(help-make-xrefs): Default info references to an
`(emacs)' prefix.
| -rw-r--r-- | lisp/help.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el index 9a52c8e23c6..2120a2ce9f6 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -1004,7 +1004,11 @@ that." | |||
| 1004 | ;; Info references | 1004 | ;; Info references |
| 1005 | (save-excursion | 1005 | (save-excursion |
| 1006 | (while (re-search-forward help-xref-info-regexp nil t) | 1006 | (while (re-search-forward help-xref-info-regexp nil t) |
| 1007 | (help-xref-button 1 #'info (match-string 1)))) | 1007 | (let ((data (match-string 1))) |
| 1008 | (save-match-data | ||
| 1009 | (unless (string-match "^([^)]+)" data) | ||
| 1010 | (setq data (concat "(emacs)" data)))) | ||
| 1011 | (help-xref-button 1 #'info data)))) | ||
| 1008 | ;; An obvious case of a key substitution: | 1012 | ;; An obvious case of a key substitution: |
| 1009 | (save-excursion | 1013 | (save-excursion |
| 1010 | (while (re-search-forward | 1014 | (while (re-search-forward |