]> code.delx.au - gnu-emacs/commitdiff
; Add comment for declare-function
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2016 19:45:21 +0000 (12:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2016 19:45:41 +0000 (12:45 -0700)
lisp/subr.el

index 239bdc08d6bbfc1b2d48bf2ad2b0608266b201a8..97cde6879cd92c52bab35dcdde5653bdb02d4762 100644 (file)
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
-;;; 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