aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2007-08-09 02:49:10 +0000
committerGlenn Morris2007-08-09 02:49:10 +0000
commit6e4a68d2b8e03f4a2f74c73a2af640f84e94b929 (patch)
tree1d0d9e721fe9f324d498f23013908a43b841a663 /lisp
parent2540a3abbdc759f476f130f11ed8963a01c03fc1 (diff)
downloademacs-6e4a68d2b8e03f4a2f74c73a2af640f84e94b929.tar.gz
emacs-6e4a68d2b8e03f4a2f74c73a2af640f84e94b929.zip
(help-make-xrefs): Fix previous change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 818a0111cb8..74daa9b8afb 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -438,7 +438,9 @@ that."
438 (while (re-search-forward 438 (while (re-search-forward
439 ;; Assume command name is only word and symbol 439 ;; Assume command name is only word and symbol
440 ;; characters to get things like `use M-x foo->bar'. 440 ;; characters to get things like `use M-x foo->bar'.
441 "\\<M-x\\s-+\\(\\sw\\(\\sw\\|\\s_\\)+\\)" nil t) 441 ;; Command required to end with word constituent
442 ;; to avoid `.' at end of a sentence.
443 "\\<M-x\\s-+\\(\\sw\\(\\sw\\|\\s_\\)*\\sw\\)" nil t)
442 (let ((sym (intern-soft (match-string 1)))) 444 (let ((sym (intern-soft (match-string 1))))
443 (if (fboundp sym) 445 (if (fboundp sym)
444 (help-xref-button 1 'help-function sym))))) 446 (help-xref-button 1 'help-function sym)))))