changeset 105317:78728d295b59

(declare-function): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 01 Oct 2009 02:03:38 +0000
parents 3d13129b958c
children 179b0f945895
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Oct 01 02:02:39 2009 +0000
+++ b/lisp/ChangeLog	Thu Oct 01 02:03:38 2009 +0000
@@ -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
--- a/lisp/subr.el	Thu Oct 01 02:02:39 2009 +0000
+++ b/lisp/subr.el	Thu Oct 01 02:03:38 2009 +0000
@@ -62,11 +62,7 @@
 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.