mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
* 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
This commit is contained in:
parent
d5e632d853
commit
26a2788480
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
* subr.el (shell-quote-argument): Properly quote \n (bug#7687).
|
* 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))
|
(let ((found nil) (start (point)) (msg nil) (ms nil))
|
||||||
(while (and (not msg)
|
(while (and (not msg)
|
||||||
(re-search-forward
|
(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))
|
e t))
|
||||||
(setq ms (match-string 1))
|
(setq ms (match-string 1))
|
||||||
;; A . is a \s_ char, so we must remove periods from
|
;; A . is a \s_ char, so we must remove periods from
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue