[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/checkdoc.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/checkdoc.el [lexbind] |
Date: |
Wed, 15 Sep 2004 20:40:45 -0400 |
Index: emacs/lisp/emacs-lisp/checkdoc.el
diff -c emacs/lisp/emacs-lisp/checkdoc.el:1.27.2.6
emacs/lisp/emacs-lisp/checkdoc.el:1.27.2.7
*** emacs/lisp/emacs-lisp/checkdoc.el:1.27.2.6 Tue May 11 02:33:53 2004
--- emacs/lisp/emacs-lisp/checkdoc.el Thu Sep 16 00:14:59 2004
***************
*** 1561,1568 ****
;; to describe the most important commands in your major mode, and
;; then use `\\{...}' to display the rest of the mode's keymap.
(save-excursion
! (if (re-search-forward "\\\\\\\\\\[\\w+" e t
! (1+ checkdoc-max-keyref-before-warn))
(checkdoc-create-error
"Too many occurrences of \\[function]. Use \\{keymap} instead"
s (marker-position e))))
--- 1561,1569 ----
;; to describe the most important commands in your major mode, and
;; then use `\\{...}' to display the rest of the mode's keymap.
(save-excursion
! (if (and (re-search-forward "\\\\\\\\\\[\\w+" e t
! (1+ checkdoc-max-keyref-before-warn))
! (not (re-search-forward "\\\\\\\\{\\w+}" e t)))
(checkdoc-create-error
"Too many occurrences of \\[function]. Use \\{keymap} instead"
s (marker-position e))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/checkdoc.el [lexbind],
Miles Bader <=