diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-09 02:48:42 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-09 02:48:42 +0000 |
commit | 22ce475b428311f8c7cfb07dbf12103097ab7d02 (patch) | |
tree | bf7d29ffdcaffbeac16459ea481112209de172c3 /lisp/help-mode.el | |
parent | 0ba39347d9a752fa2be9b575f2f46422448d7d58 (diff) | |
download | emacs-22ce475b428311f8c7cfb07dbf12103097ab7d02.tar.gz emacs-22ce475b428311f8c7cfb07dbf12103097ab7d02.tar.bz2 emacs-22ce475b428311f8c7cfb07dbf12103097ab7d02.zip |
(help-make-xrefs): Fix previous change.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r-- | lisp/help-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index fd17a93a29f..1435eb019ec 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -461,9 +461,11 @@ that." ;; An obvious case of a key substitution: (save-excursion (while (re-search-forward - ;; Assume command name is only word and symbol + ;; Assume command name is only word and symbol ;; characters to get things like `use M-x foo->bar'. - "\\<M-x\\s-+\\(\\sw\\(\\sw\\|\\s_\\)+\\)" nil t) + ;; Command required to end with word constituent + ;; to avoid `.' at end of a sentence. + "\\<M-x\\s-+\\(\\sw\\(\\sw\\|\\s_\\)*\\sw\\)" nil t) (let ((sym (intern-soft (match-string 1)))) (if (fboundp sym) (help-xref-button 1 'help-function sym))))) |