diff options
| author | Stefan Monnier | 2012-11-20 15:06:17 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2012-11-20 15:06:17 -0500 |
| commit | eadf1faa3cb5eea8c25a5166a9a97ebd63525c56 (patch) | |
| tree | c5b92de52e664400cbc79f7dd344cbf440fb7e2a /etc | |
| parent | 2e31777bd1354d22319cf6de4085ccc362cff42c (diff) | |
| download | emacs-eadf1faa3cb5eea8c25a5166a9a97ebd63525c56.tar.gz emacs-eadf1faa3cb5eea8c25a5166a9a97ebd63525c56.zip | |
Conflate Qnil and Qunbound for `symbol-function'.
* src/alloc.c (Fmake_symbol): Initialize `function' to Qnil.
* src/lread.c (init_obarray): Set `function' fields to Qnil.
* src/eval.c (Fcommandp): Ignore Qunbound.
(Fautoload, eval_sub, Fapply, Ffuncall, Fmacroexpand):
* src/data.c (Ffset, Ffboundp, indirect_function, Findirect_function):
Test NILP rather than Qunbound.
(Ffmakunbound): Set to Qnil.
(Fsymbol_function): Never signal an error.
(Finteractive_form): Ignore Qunbound.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -52,6 +52,10 @@ It is layered as: | |||
| 52 | 52 | ||
| 53 | * Incompatible Lisp Changes in Emacs 24.4 | 53 | * Incompatible Lisp Changes in Emacs 24.4 |
| 54 | 54 | ||
| 55 | ** nil and "unbound" are indistinguishable in symbol-function. | ||
| 56 | `symbol-function' never signals `void-function' any more. | ||
| 57 | `fboundp' returns non-nil if the symbol was `fset' to nil. | ||
| 58 | |||
| 55 | ** `defadvice' does not honor the `freeze' flag and cannot advise | 59 | ** `defadvice' does not honor the `freeze' flag and cannot advise |
| 56 | special-forms any more. | 60 | special-forms any more. |
| 57 | 61 | ||