[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 [emacs-unicod
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/checkdoc.el [emacs-unicode-2] |
Date: |
Wed, 15 Sep 2004 05:23:20 -0400 |
Index: emacs/lisp/emacs-lisp/checkdoc.el
diff -c emacs/lisp/emacs-lisp/checkdoc.el:1.37.4.2
emacs/lisp/emacs-lisp/checkdoc.el:1.37.4.3
*** emacs/lisp/emacs-lisp/checkdoc.el:1.37.4.2 Mon Jun 28 07:29:45 2004
--- emacs/lisp/emacs-lisp/checkdoc.el Wed Sep 15 08:59:56 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 [emacs-unicode-2],
Miles Bader <=