Commit 26a27884 authored by Jari Aalto's avatar Jari Aalto Committed by Stefan Monnier
Browse files

* 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
parent d5e632d8
2011-01-21 Jari Aalto <jari.aalto@cante.net>
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): (bug#7705)
Assume foo(bar) is a manpage reference rather than some unquoted symbol.
2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (shell-quote-argument): Properly quote \n (bug#7687).
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment