+2007-11-22 Glenn Morris <rgm@gnu.org>
+
+ * emacs-lisp/check-declare.el (check-declare-locate): New function.
+ (check-declare-scan): Use check-declare-locate.
+ (check-declare-verify): No longer adjust fnfile, now
+ check-declare-locate does it.
+
+ * emacs-lisp/byte-run.el (declare-function): Doc fix.
+
2007-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (posn-col-row): Make the `default-value' use explicit.
`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