# HG changeset patch # User Glenn Morris # Date 1195763183 0 # Node ID 08472b24d269944a6f0c46cfc94581928d0280f1 # Parent 79a4d6e44352ca0f2c04a7326c60311ddc1eeadc (declare-function): Doc fix. diff -r 79a4d6e44352 -r 08472b24d269 lisp/emacs-lisp/byte-run.el --- a/lisp/emacs-lisp/byte-run.el Thu Nov 22 20:25:51 2007 +0000 +++ b/lisp/emacs-lisp/byte-run.el Thu Nov 22 20:26:23 2007 +0000 @@ -112,10 +112,11 @@ `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