Allow uncapitalized info node names (Bug#3921).
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).
;; 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)