aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2012-02-05 16:58:38 -0800
committerGlenn Morris2012-02-05 16:58:38 -0800
commite7bc51d012a620268da85763e8bc233a1132ff3b (patch)
treec0212d0bdba68d4967a3d5d6aa94d49005c91175 /etc
parent866c1d22181fda6b0df3e9bf2c5f0bab9ee4a393 (diff)
downloademacs-e7bc51d012a620268da85763e8bc233a1132ff3b.tar.gz
emacs-e7bc51d012a620268da85763e8bc233a1132ff3b.zip
* doc/lispref/modes.texi (Running Hooks): Mention run-hook-wrapped.
* etc/NEWS: Related edit.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 136ff60fec3..86b4f60dddf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1236,8 +1236,12 @@ Instead, the offending function is removed.
1236 1236
1237** New hook types 1237** New hook types
1238 1238
1239+++
1239*** New function `run-hook-wrapped' for running an abnormal hook by 1240*** New function `run-hook-wrapped' for running an abnormal hook by
1240passing the hook functions as arguments to a "wrapping" function. 1241passing the hook functions as arguments to a "wrapping" function.
1242Like `run-hook-with-args-until-success', it stops at the first
1243non-nil retun value.
1244
1241+++ 1245+++
1242*** New macro `with-wrapper-hook' for running an abnormal hook as a 1246*** New macro `with-wrapper-hook' for running an abnormal hook as a
1243set of "wrapping" filters, similar to around advice. 1247set of "wrapping" filters, similar to around advice.