]> git.eshelyaron.com Git - emacs.git/commitdiff
(declare-function): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Thu, 22 Nov 2007 20:26:33 +0000 (20:26 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 22 Nov 2007 20:26:33 +0000 (20:26 +0000)
lisp/ChangeLog
lisp/emacs-lisp/byte-run.el

index 452a9847f6c8c616426359076a2956dda67f8f6b..ae7927296f64c4b0effe629d5358b9b1e33e3cf5 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 2ba708d9c921754f25c35ee68912330a04fb546b..9a516b9d36eee1fd81c3db34badde118420fe5da 100644 (file)
@@ -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