diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-03-22 15:24:49 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-03-22 15:24:49 +0000 |
commit | b008007c6a90f2f6f081c1b72395141ab6e56dfa (patch) | |
tree | 4ebd8b7ae7a74c973eddb83ee4b07986a01fb72d /lisp/emacs-lisp | |
parent | b122f3fb5ac825f2a429442b2485cd77bb0ecf94 (diff) | |
download | emacs-b008007c6a90f2f6f081c1b72395141ab6e56dfa.tar.gz emacs-b008007c6a90f2f6f081c1b72395141ab6e56dfa.tar.bz2 emacs-b008007c6a90f2f6f081c1b72395141ab6e56dfa.zip |
(checkdoc-error): Dont' assume point-min == 1.
(debug-ignored-errors): Add an entry.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/checkdoc.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 05f0bb0977d..8e68cb428dc 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -1,6 +1,6 @@ ;;; checkdoc.el --- check documentation strings for style requirements -;;; Copyright (C) 1997, 1998, 2001 Free Software Foundation +;;; Copyright (C) 1997, 1998, 2001, 2004 Free Software Foundation ;; Author: Eric M. Ludlam <zappo@gnu.org> ;; Version: 0.6.2 @@ -2657,7 +2657,7 @@ function called to create the messages." (setq checkdoc-pending-errors t) (checkdoc-output-to-error-buffer "\n" (checkdoc-buffer-label) ":" - (int-to-string (count-lines (point-min) (or point 1))) ": " + (int-to-string (count-lines (point-min) (or point (point-min)))) ": " msg)) (defun checkdoc-output-to-error-buffer (&rest text) @@ -2692,6 +2692,8 @@ function called to create the messages." (add-to-list 'debug-ignored-errors "Argument `.*' should appear (as .*) in the doc string") +(add-to-list 'debug-ignored-errors + "Lisp symbol `.*' should appear in quotes") (add-to-list 'debug-ignored-errors "Disambiguate .* by preceding .*") (provide 'checkdoc) |