diff etc/NEWS @ 78602:b86e73d7c635

(reset_var_on_error): New fun. (signal_before_change, signal_after_change): Use it to reset (after|before)-change-functions to nil in case of error. Bind inhibit-modification-hooks to t. Don't bind (after|before)-change-functions to nil while they run.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 21 Aug 2007 18:22:03 +0000
parents 83e2a529338d
children 1f0417751fd3
line wrap: on
line diff
--- a/etc/NEWS	Tue Aug 21 16:25:41 2007 +0000
+++ b/etc/NEWS	Tue Aug 21 18:22:03 2007 +0000
@@ -79,6 +79,11 @@
 
 * Lisp Changes in Emacs 22.2.
 
++++
+** inhibit-modification-hooks is bound to t while running modification hooks.
+As a happy consequence, after-change-functions and before-change-functions
+are not bound to nil any more while running an (after|before)-change-function.
+
 ** New function `window-full-width-p' returns t if a window is as wide
 as its frame.