diff options
| author | Stefan Monnier | 2007-08-21 18:22:03 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-08-21 18:22:03 +0000 |
| commit | 97c4ef2a204f2be3db8de5c900046abe09d0582a (patch) | |
| tree | d70157d7cbda014f388718d4992374bc0341e913 /etc | |
| parent | d5dac3b9bd5baa34ebb0506d0cd4460397a03d81 (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -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. | ||
| 84 | As a happy consequence, after-change-functions and before-change-functions | ||
| 85 | are 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 |
| 83 | as its frame. | 88 | as its frame. |
| 84 | 89 | ||