diff options
| author | Pavel Janík | 2002-01-15 07:31:04 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-01-15 07:31:04 +0000 |
| commit | 1a6db83a4890157c047c599809e75dd28cf8947e (patch) | |
| tree | 7303b4c85e22e9884d4b79f3c61ac37b2045318e /src | |
| parent | afb05cf3835a0dbc4e4458e3f31a9ecb68529478 (diff) | |
| download | emacs-1a6db83a4890157c047c599809e75dd28cf8947e.tar.gz emacs-1a6db83a4890157c047c599809e75dd28cf8947e.zip | |
(Fkill_all_local_variables): Increment `update_mode_lines' only once.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/buffer.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2efa5a3e30e..26c78865695 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-01-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | ||
| 2 | |||
| 3 | * buffer.c (Fkill_all_local_variables): Increment | ||
| 4 | `update_mode_lines' only once. | ||
| 5 | |||
| 1 | 2002-01-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 6 | 2002-01-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 7 | ||
| 3 | * lisp.h (adjust_after_replace_noundo) | 8 | * lisp.h (adjust_after_replace_noundo) |
diff --git a/src/buffer.c b/src/buffer.c index 856b55aa645..7f49fb4d247 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2299,10 +2299,6 @@ the normal hook `change-major-mode-hook'. */) | |||
| 2299 | 2299 | ||
| 2300 | reset_buffer_local_variables (current_buffer, 0); | 2300 | reset_buffer_local_variables (current_buffer, 0); |
| 2301 | 2301 | ||
| 2302 | /* Redisplay mode lines; we are changing major mode. */ | ||
| 2303 | |||
| 2304 | update_mode_lines++; | ||
| 2305 | |||
| 2306 | /* Any which are supposed to be permanent, | 2302 | /* Any which are supposed to be permanent, |
| 2307 | make local again, with the same values they had. */ | 2303 | make local again, with the same values they had. */ |
| 2308 | 2304 | ||