bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3921: 23.1.50; checkdoc allow uncapitalized info node links


From: Stefan Monnier
Subject: bug#3921: 23.1.50; checkdoc allow uncapitalized info node links
Date: Sat, 24 Oct 2009 21:02:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> @@ -2017,11 +2020,11 @@
>                        (not (and (= ?/ (char-after e))
>                                  (= ?/ (char-before b))))
>                        (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)))))
> +                      ;; info or url links left alone
> +                      (not (thing-at-point-looking-at
> +                            help-xref-info-regexp))
> +                      (not (thing-at-point-looking-at
> +                            help-xref-url-regexp)))
>                   (if (checkdoc-autofix-ask-replace
>                        b e (format "Text %s should be capitalized.  Fix? "
>                                    text)

Looks good,


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]