summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2002-01-15 07:31:04 +0000
committerPavel Janík <Pavel@Janik.cz>2002-01-15 07:31:04 +0000
commit1a6db83a4890157c047c599809e75dd28cf8947e (patch)
tree7303b4c85e22e9884d4b79f3c61ac37b2045318e
parentafb05cf3835a0dbc4e4458e3f31a9ecb68529478 (diff)
downloademacs-1a6db83a4890157c047c599809e75dd28cf8947e.tar.gz
emacs-1a6db83a4890157c047c599809e75dd28cf8947e.tar.bz2
emacs-1a6db83a4890157c047c599809e75dd28cf8947e.zip
(Fkill_all_local_variables): Increment `update_mode_lines' only once.
-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 @@
+2002-01-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
+
+ * buffer.c (Fkill_all_local_variables): Increment
+ `update_mode_lines' only once.
+
2002-01-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* 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'. */)
reset_buffer_local_variables (current_buffer, 0);
- /* Redisplay mode lines; we are changing major mode. */
-
- update_mode_lines++;
-
/* Any which are supposed to be permanent,
make local again, with the same values they had. */