aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2007-08-21 18:22:03 +0000
committerStefan Monnier2007-08-21 18:22:03 +0000
commit97c4ef2a204f2be3db8de5c900046abe09d0582a (patch)
treed70157d7cbda014f388718d4992374bc0341e913 /etc
parentd5dac3b9bd5baa34ebb0506d0cd4460397a03d81 (diff)
downloademacs-97c4ef2a204f2be3db8de5c900046abe09d0582a.tar.gz
emacs-97c4ef2a204f2be3db8de5c900046abe09d0582a.zip
(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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c652703bcf1..32b555f14c9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -79,6 +79,11 @@ in to make it use the scrollbars from the system theme.
79 79
80* Lisp Changes in Emacs 22.2. 80* Lisp Changes in Emacs 22.2.
81 81
82+++
83** inhibit-modification-hooks is bound to t while running modification hooks.
84As a happy consequence, after-change-functions and before-change-functions
85are not bound to nil any more while running an (after|before)-change-function.
86
82** New function `window-full-width-p' returns t if a window is as wide 87** New function `window-full-width-p' returns t if a window is as wide
83as its frame. 88as its frame.
84 89