[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
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/checkdoc.el |
Date: |
Sun, 12 Sep 2004 16:23:00 -0400 |
Index: emacs/lisp/emacs-lisp/checkdoc.el
diff -c emacs/lisp/emacs-lisp/checkdoc.el:1.43
emacs/lisp/emacs-lisp/checkdoc.el:1.44
*** emacs/lisp/emacs-lisp/checkdoc.el:1.43 Sat May 8 16:38:33 2004
--- emacs/lisp/emacs-lisp/checkdoc.el Sun Sep 12 20:17:53 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,
Stefan Monnier <=