aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2012-11-13 09:12:46 -0500
committerStefan Monnier2012-11-13 09:12:46 -0500
commit3c442f8b25bf6acc52c45a1f9966b8529ea936d2 (patch)
treed6372faa4eef5ed4919e94592240b06634e0a4c8 /etc
parentc708524567662c8911c5ab2695acc7bda0383705 (diff)
downloademacs-3c442f8b25bf6acc52c45a1f9966b8529ea936d2.tar.gz
emacs-3c442f8b25bf6acc52c45a1f9966b8529ea936d2.zip
* lisp/emacs-lisp/advice.el: Layer on top of nadvice.el.
Remove out of date self-require hack. (ad-do-advised-functions): Use simple `dolist'. (ad-advice-name, ad-advice-protected, ad-advice-enabled) (ad-advice-definition): Redefine as functions. (ad-advice-classes): Move before first use. (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition) (ad-make-mapped-call, ad-make-advised-docstring, ad-make-plain-docstring) (ad--defalias-fset): Remove functions. (ad-make-advicefunname, ad-clear-advicefunname-definition): New functions. (ad-get-orig-definition): Rewrite. (ad-make-advised-definition-docstring): Change base docstring. (ad-real-orig-definition): Rewrite. (ad-map-arglists): Change name of called function. (ad--make-advised-docstring): Redirect `function' from ad-Advice-... (ad-make-advised-definition): Simplify. (ad-assemble-advised-definition): Tweak for new calling context. (ad-activate-advised-definition): Setup ad-Advice-* instead of ad-Orig-*. (ad--defalias-fset): Rename from ad-handle-definition. Make it set the function and call ad-activate if needed. (ad-activate, ad-deactivate): Don't call ad-handle-definition any more. (ad-recover): Clear ad-Advice-* instead of ad-Orig-*. (ad-compile-function): Compile ad-Advice-*. (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove. (ad-start-advice, ad-stop-advice): Remove.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fbe24c8345f..58acf81897c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -43,7 +43,8 @@ It is layered as:
43 43
44* Incompatible Lisp Changes in Emacs 24.4 44* Incompatible Lisp Changes in Emacs 24.4
45 45
46** `defadvice' does not honor the `freeze' flag any more. 46** `defadvice' does not honor the `freeze' flag and cannot advise
47special-forms any more.
47 48
48** `dolist' in lexical-binding mode does not bind VAR in RESULT any more. 49** `dolist' in lexical-binding mode does not bind VAR in RESULT any more.
49VAR was bound to nil which was not tremendously useful and just lead to 50VAR was bound to nil which was not tremendously useful and just lead to