aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2012-06-18 11:57:41 -0400
committerStefan Monnier2012-06-18 11:57:41 -0400
commit1053a8716ba9f1834eccff14ece377928a4bd244 (patch)
tree775e64585480452dcaa629ee9ffa2b85505d3e01 /etc
parentb7e8d081674c24b19c5ee39892a72aef25c1dfcc (diff)
downloademacs-1053a8716ba9f1834eccff14ece377928a4bd244.tar.gz
emacs-1053a8716ba9f1834eccff14ece377928a4bd244.zip
Fix return value of `defun' and un-define it.
* src/data.c (Fdefalias): Return `symbol'. * doc/lispref/functions.texi (Defining Functions): * doc/lispref/macros.texi (Defining Macros): Un-define the return value of `defun', `defmacro' and `defalias'. Fixes: debbugs:11686
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c469c7951ed..629743bac4e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -429,6 +429,8 @@ still be supported for Emacs 24.x.
429 429
430* Lisp changes in Emacs 24.2 430* Lisp changes in Emacs 24.2
431 431
432** The return value of `defalias' has changed and is now undefined.
433
432** `defun' also accepts a (declare DECLS) form, like `defmacro'. 434** `defun' also accepts a (declare DECLS) form, like `defmacro'.
433The interpretation of the DECLS is determined by `defun-declarations-alist'. 435The interpretation of the DECLS is determined by `defun-declarations-alist'.
434 436