From: Paul Eggert Date: Fri, 27 May 2016 19:45:21 +0000 (-0700) Subject: ; Add comment for declare-function X-Git-Tag: emacs-26.0.90~1878 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=168163434678dcc030d1e2844765ddae7b555721;p=emacs.git ; Add comment for declare-function --- diff --git a/lisp/subr.el b/lisp/subr.el index 239bdc08d6b..97cde6879cd 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -22,13 +22,13 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . -;;; Commentary: - -;;; Code: - ;; Beware: while this file has tag `utf-8', before it's compiled, it gets ;; loaded as "raw-text", so non-ASCII chars won't work right during bootstrap. + +;; declare-function's args use &rest, not &optional, for compatibility +;; with byte-compile-macroexpand-declare-function. + (defmacro declare-function (_fn _file &rest _args) "Tell the byte-compiler that function FN is defined, in FILE. The FILE argument is not used by the byte-compiler, but by the