aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2002-01-15 07:31:04 +0000
committerPavel Janík2002-01-15 07:31:04 +0000
commit1a6db83a4890157c047c599809e75dd28cf8947e (patch)
tree7303b4c85e22e9884d4b79f3c61ac37b2045318e /src
parentafb05cf3835a0dbc4e4458e3f31a9ecb68529478 (diff)
downloademacs-1a6db83a4890157c047c599809e75dd28cf8947e.tar.gz
emacs-1a6db83a4890157c047c599809e75dd28cf8947e.zip
(Fkill_all_local_variables): Increment `update_mode_lines' only once.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/buffer.c4
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 @@
12002-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
12002-01-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62002-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