aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-10-01 02:03:38 +0000
committerGlenn Morris2009-10-01 02:03:38 +0000
commita4d2c321a5c1802abf26c2366568340e51622de6 (patch)
tree5eab275a05bbd824e04066708d71f320195701b8
parent787cc821c04a8c0f6a58461a17df3565d2b893c5 (diff)
downloademacs-a4d2c321a5c1802abf26c2366568340e51622de6.tar.gz
emacs-a4d2c321a5c1802abf26c2366568340e51622de6.zip
(declare-function): Doc fix.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/subr.el6
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index de0839bd1a2..7c246635258 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12009-10-01 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4 rather than parsing it as a regexp. This relaxes the layout
5 requirements and makes errors easier to detect.
6 (check-declare-verify): Check file is regular.
7 (check-declare-directory): Doc fix.
8 * subr.el (declare-function): Doc fix.
9
12009-10-01 Juanma Barranquero <lekktu@gmail.com> 102009-10-01 Juanma Barranquero <lekktu@gmail.com>
2 11
3 * cedet/semantic/wisent/javat-wy.el 12 * cedet/semantic/wisent/javat-wy.el
diff --git a/lisp/subr.el b/lisp/subr.el
index ac8743e683e..a7d3fcd600c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -62,11 +62,7 @@ set ARGLIST to `t'. This is necessary because `nil' means an
62empty argument list, rather than an unspecified one. 62empty argument list, rather than an unspecified one.
63 63
64Note that for the purposes of `check-declare', this statement 64Note that for the purposes of `check-declare', this statement
65must be the first non-whitespace on a line, and everything up to 65must be the first non-whitespace on a line.
66the end of FILE must be all on the same line. For example:
67
68\(declare-function c-end-of-defun \"progmodes/cc-cmds.el\"
69 \(&optional arg))
70 66
71For more information, see Info node `(elisp)Declaring Functions'." 67For more information, see Info node `(elisp)Declaring Functions'."
72 ;; Does nothing - byte-compile-declare-function does the work. 68 ;; Does nothing - byte-compile-declare-function does the work.