aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-11-22 04:17:44 +0000
committerGlenn Morris <[email protected]>2007-11-22 04:17:44 +0000
commit3ab75caec0317d22b5ecf301d55467eb8a685f61 (patch)
tree008a464baf6b96f7bf93010069f340b39c6aeffe
parent64831124ba532da702021f629d0a09f982fb0bd0 (diff)
(declare-function): Doc fix.
-rw-r--r--lisp/emacs-lisp/byte-run.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index bf91a8d58f..2ba708d9c9 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -108,10 +108,14 @@ The return value of this function is not used."
Optional ARGLIST is the argument list used by the function. The
FILE argument is not used by the byte-compiler, but by the
`check-declare' package, which checks that FILE contains a
-definition for FN. FILE should be either absolute, or relative
-to the location of the file containing the declaration. ARGLIST
-is used by both the byte-compiler and `check-declare' to check
-for consistency.
+definition for FN. ARGLIST is used by both the byte-compiler and
+`check-declare' to check for consistency.
+
+FILE can be either a Lisp file (in which case the \".el\"
+extension is optional), or a C file. FILE should be either
+absolute, or relative to the location of the file containing the
+declaration (for a Lisp file), or to the Emacs \"src/\" directory
+\(for a C file).
Note that for the purposes of `check-declare', this statement
must be the first non-whitespace on a line, and everything up to