Commit 36bfa3af authored by Chong Yidong's avatar Chong Yidong
Browse files

* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):

Allow uncapitalized info node names (Bug#3921).
parent 91231421
2009-10-23 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
Allow uncapitalized info node names (Bug#3921).
* mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
to the DEBUG file (Bug#3781).
......
......@@ -2016,7 +2016,12 @@ If the offending word is in a piece of quoted text, then it is skipped."
;; surrounded by /, as in a URL or filename: /emacs/
(not (and (= ?/ (char-after e))
(= ?/ (char-before b))))
(not (checkdoc-in-example-string-p begin end)))
(not (checkdoc-in-example-string-p begin end))
;; info node
(not (save-excursion
(goto-char b)
(looking-back "\\<[Ii]nfo[ \t\n]+\\(node\\|anchor\\)[ \t\n]+`("
(line-beginning-position)))))
(if (checkdoc-autofix-ask-replace
b e (format "Text %s should be capitalized. Fix? "
text)
......
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