]> git.eshelyaron.com Git - emacs.git/commit
Add `declare' for `defun'. Align `defmacro's with it.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 31 May 2012 01:41:17 +0000 (21:41 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 31 May 2012 01:41:17 +0000 (21:41 -0400)
commit500fcedc32199750ee61ce6caba3914fe204e629
tree48e4954b45900c121bda51f3de0209e5cd3736e7
parentb03b4c00631aa0d43de33c0498db36a2403cd519
Add `declare' for `defun'.  Align `defmacro's with it.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
(define-globalized-minor-mode): Don't autoload the var definitions.
* lisp/emacs-lisp/byte-run.el: Use lexical-binding.
(defun-declarations-alist, macro-declarations-alist): New vars.
(defmacro, defun): Use them.
(make-obsolete, define-obsolete-function-alias)
(make-obsolete-variable, define-obsolete-variable-alias):
Use `declare'.
(macro-declaration-function): Mark obsolete.
* lisp/emacs-lisp/autoload.el: Use lexical-binding.
(make-autoload): Add `expansion' arg.  Rely more on macro expansion.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/easy-mmode.el