diff options
| author | Stefan Monnier | 2012-06-18 11:57:41 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-06-18 11:57:41 -0400 |
| commit | 1053a8716ba9f1834eccff14ece377928a4bd244 (patch) | |
| tree | 775e64585480452dcaa629ee9ffa2b85505d3e01 /etc | |
| parent | b7e8d081674c24b19c5ee39892a72aef25c1dfcc (diff) | |
| download | emacs-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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'. |
| 433 | The interpretation of the DECLS is determined by `defun-declarations-alist'. | 435 | The interpretation of the DECLS is determined by `defun-declarations-alist'. |
| 434 | 436 | ||