aboutsummaryrefslogtreecommitdiffstats
path: root/etc/NEWS
diff options
context:
space:
mode:
authorChong Yidong2011-10-26 08:44:06 +0800
committerChong Yidong2011-10-26 08:44:06 +0800
commitb1f6fa2666442e27ae8ac3439fd1891c94fe36bc (patch)
treebb17cd1f4a09f00db5cf2ee1b752a94e86f05d02 /etc/NEWS
parent507ea2587e3b868468e83ff6bc8b3303c4097984 (diff)
downloademacs-b1f6fa2666442e27ae8ac3439fd1891c94fe36bc.tar.gz
emacs-b1f6fa2666442e27ae8ac3439fd1891c94fe36bc.zip
Document with-wrapper-hook.
* doc/emacs/modes.texi (Running Hooks): Document with-wrapper-hook. * lisp/subr.el (with-wrapper-hook): Rewrite doc.
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d6b0bdb484c..58f3fa492e2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1169,7 +1169,13 @@ must also be supplied.
1169** pre/post-command-hook are not reset to nil upon error. 1169** pre/post-command-hook are not reset to nil upon error.
1170Instead, the offending function is removed. 1170Instead, the offending function is removed.
1171 1171
1172** New low-level function run-hook-wrapped. 1172** New hook types
1173
1174*** New function `run-hook-wrapped' for running an abnormal hook by
1175passing the hook functions as arguments to a "wrapping" function.
1176+++
1177*** New macro `with-wrapper-hook' for running an abnormal hook as a
1178set of "wrapping" filters, similar to around advice.
1173 1179
1174** `server-eval-at' is provided to allow evaluating forms on different 1180** `server-eval-at' is provided to allow evaluating forms on different
1175Emacs server instances. 1181Emacs server instances.