]> git.eshelyaron.com Git - emacs.git/commitdiff
(declare-function): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Thu, 1 Oct 2009 02:03:38 +0000 (02:03 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 1 Oct 2009 02:03:38 +0000 (02:03 +0000)
lisp/ChangeLog
lisp/subr.el

index de0839bd1a212e792a09b84429a6479fb7d673b5..7c246635258f8df2a6f7ed7426ee0611743aa3b4 100644 (file)
@@ -1,3 +1,12 @@
+2009-10-01  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
+       rather than parsing it as a regexp.  This relaxes the layout
+       requirements and makes errors easier to detect.
+       (check-declare-verify): Check file is regular.
+       (check-declare-directory): Doc fix.
+       * subr.el (declare-function): Doc fix.
+
 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
 
        * cedet/semantic/wisent/javat-wy.el
index ac8743e683e217d7130e979bd9b9088df22449a4..a7d3fcd600c5126cdd9782f1c6b179513a41a9d7 100644 (file)
@@ -62,11 +62,7 @@ set ARGLIST to `t'.  This is necessary because `nil' means an
 empty argument list, rather than an unspecified one.
 
 Note that for the purposes of `check-declare', this statement
-must be the first non-whitespace on a line, and everything up to
-the end of FILE must be all on the same line.  For example:
-
-\(declare-function c-end-of-defun \"progmodes/cc-cmds.el\"
-                  \(&optional arg))
+must be the first non-whitespace on a line.
 
 For more information, see Info node `(elisp)Declaring Functions'."
   ;; Does nothing - byte-compile-declare-function does the work.