diff options
| author | Glenn Morris | 2012-02-05 16:58:38 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-05 16:58:38 -0800 |
| commit | e7bc51d012a620268da85763e8bc233a1132ff3b (patch) | |
| tree | c0212d0bdba68d4967a3d5d6aa94d49005c91175 /etc | |
| parent | 866c1d22181fda6b0df3e9bf2c5f0bab9ee4a393 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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 |
| 1240 | passing the hook functions as arguments to a "wrapping" function. | 1241 | passing the hook functions as arguments to a "wrapping" function. |
| 1242 | Like `run-hook-with-args-until-success', it stops at the first | ||
| 1243 | non-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 |
| 1243 | set of "wrapping" filters, similar to around advice. | 1247 | set of "wrapping" filters, similar to around advice. |