[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-run.el, v [EMACS_22_
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-run.el, v [EMACS_22_BASE] |
Date: |
Sat, 01 Dec 2007 21:30:14 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Glenn Morris <gm> 07/12/01 21:30:14
Index: byte-run.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/byte-run.el,v
retrieving revision 1.21.2.2
retrieving revision 1.21.2.3
diff -u -b -r1.21.2.2 -r1.21.2.3
--- byte-run.el 20 Nov 2007 04:05:18 -0000 1.21.2.2
+++ byte-run.el 1 Dec 2007 21:30:13 -0000 1.21.2.3
@@ -103,10 +103,11 @@
(eval-and-compile
(put ',name 'byte-optimizer 'byte-compile-inline-expand))))
-(defalias 'declare-function 'ignore
+(defmacro declare-function (&rest args)
"In Emacs 22, does nothing. In 23, it will suppress byte-compiler warnings.
This definition is so that packages may take advantage of the
-Emacs 23 feature and still remain compatible with Emacs 22.")
+Emacs 23 feature and still remain compatible with Emacs 22."
+ nil)
(defun make-obsolete (obsolete-name current-name &optional when)
"Make the byte-compiler warn that OBSOLETE-NAME is obsolete.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-run.el, v [EMACS_22_BASE],
Glenn Morris <=