diff options
author | Glenn Morris <rgm@gnu.org> | 2007-11-22 20:26:33 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-11-22 20:26:33 +0000 |
commit | e3e7216217d8df0261e4e317c7d2e368d78a9377 (patch) | |
tree | ce5ad1b5b92eee26b3e083f58f3e2612a8692f0b /lisp/emacs-lisp | |
parent | 7d4184ba6f4495a049b179c948acbd05da4c5040 (diff) | |
download | emacs-e3e7216217d8df0261e4e317c7d2e368d78a9377.tar.gz |
(declare-function): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 2ba708d9c92..9a516b9d36e 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -112,10 +112,11 @@ 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). +extension is optional), or a C file. C files are expanded +relative to the Emacs \"src/\" directory. Lisp files are +searched for using `locate-library', and if that fails they are +expanded relative to the location of the file containing the +declaration. Note that for the purposes of `check-declare', this statement must be the first non-whitespace on a line, and everything up to |