1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00

(declare-function): Doc fix.

This commit is contained in:
Glenn Morris 2007-11-22 20:26:33 +00:00
parent 7d4184ba6f
commit e3e7216217
2 changed files with 14 additions and 4 deletions

View 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.

View 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