changeset 78515:740099935129

(help-make-xrefs): Fix previous change.
author Glenn Morris <rgm@gnu.org>
date Thu, 09 Aug 2007 02:49:10 +0000
parents 364329b928dc
children a08858da19bd
files lisp/help-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-mode.el	Thu Aug 09 01:41:08 2007 +0000
+++ b/lisp/help-mode.el	Thu Aug 09 02:49:10 2007 +0000
@@ -438,7 +438,9 @@
                 (while (re-search-forward
                         ;; 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)))))