Mercurial > emacs
comparison lisp/emacs-lisp/byte-run.el @ 86296:cd8648d81eb3
(declare-function): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 22 Nov 2007 04:17:44 +0000 |
parents | 08ed3671eb2d |
children | 08472b24d269 |
comparison
equal
deleted
inserted
replaced
86295:0849ea0c808f | 86296:cd8648d81eb3 |
---|---|
106 (defmacro declare-function (fn file &optional arglist) | 106 (defmacro declare-function (fn file &optional arglist) |
107 "Tell the byte-compiler that function FN is defined, in FILE. | 107 "Tell the byte-compiler that function FN is defined, in FILE. |
108 Optional ARGLIST is the argument list used by the function. The | 108 Optional ARGLIST is the argument list used by the function. The |
109 FILE argument is not used by the byte-compiler, but by the | 109 FILE argument is not used by the byte-compiler, but by the |
110 `check-declare' package, which checks that FILE contains a | 110 `check-declare' package, which checks that FILE contains a |
111 definition for FN. FILE should be either absolute, or relative | 111 definition for FN. ARGLIST is used by both the byte-compiler and |
112 to the location of the file containing the declaration. ARGLIST | 112 `check-declare' to check for consistency. |
113 is used by both the byte-compiler and `check-declare' to check | 113 |
114 for consistency. | 114 FILE can be either a Lisp file (in which case the \".el\" |
115 extension is optional), or a C file. FILE should be either | |
116 absolute, or relative to the location of the file containing the | |
117 declaration (for a Lisp file), or to the Emacs \"src/\" directory | |
118 \(for a C file). | |
115 | 119 |
116 Note that for the purposes of `check-declare', this statement | 120 Note that for the purposes of `check-declare', this statement |
117 must be the first non-whitespace on a line, and everything up to | 121 must be the first non-whitespace on a line, and everything up to |
118 the end of FILE must be all on the same line. For example: | 122 the end of FILE must be all on the same line. For example: |
119 | 123 |