emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1681634: ; Add comment for declare-function


From: Paul Eggert
Subject: [Emacs-diffs] master 1681634: ; Add comment for declare-function
Date: Fri, 27 May 2016 19:45:45 +0000 (UTC)

branch: master
commit 168163434678dcc030d1e2844765ddae7b555721
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    ; Add comment for declare-function
---
 lisp/subr.el |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 239bdc0..97cde68 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 <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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]