aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorJari Aalto <[email protected]>2011-01-21 13:12:32 -0500
committerStefan Monnier <[email protected]>2011-01-21 13:12:32 -0500
commit26a27884805a63e39f46f612fbe6f8fa618c499d (patch)
tree6efda711814333571d5a44fcfa0f3be4129c5f3d /lisp/emacs-lisp/checkdoc.el
parentd5e632d853da69d61b488ac26773c547ac655c6a (diff)
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Assume foo(bar) is a manpage reference rather than some unquoted symbol. Fixes: debbugs:7705
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
-rw-r--r--lisp/emacs-lisp/checkdoc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index a89845285b..6726e83c77 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -1817,7 +1817,9 @@ Replace with \"%s\"? " original replace)
(let ((found nil) (start (point)) (msg nil) (ms nil))
(while (and (not msg)
(re-search-forward
- "[^-([`':a-zA-Z]\\(\\w+[:-]\\(\\w\\|\\s_\\)+\\)[^]']"
+ ;; Ignore manual page refereces like
+ ;; git-config(1).
+ "[^-([`':a-zA-Z]\\(\\w+[:-]\\(\\w\\|\\s_\\)+\\)[^](']"
e t))
(setq ms (match-string 1))
;; A . is a \s_ char, so we must remove periods from