]> git.eshelyaron.com Git - emacs.git/commitdiff
(help-make-xrefs): Fix previous change.
authorGlenn Morris <rgm@gnu.org>
Thu, 9 Aug 2007 02:49:10 +0000 (02:49 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 9 Aug 2007 02:49:10 +0000 (02:49 +0000)
lisp/help-mode.el

index 818a0111cb810f4ca94137d08df4a21aa3b73ea7..74daa9b8afb20521b888de09ad3f6b9e09794f16 100644 (file)
@@ -438,7 +438,9 @@ that."
                 (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)))))