From: Pavel Janík Date: Tue, 15 Jan 2002 07:31:04 +0000 (+0000) Subject: (Fkill_all_local_variables): Increment `update_mode_lines' only once. X-Git-Tag: ttn-vms-21-2-B4~17131 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a6db83a4890157c047c599809e75dd28cf8947e;p=emacs.git (Fkill_all_local_variables): Increment `update_mode_lines' only once. --- 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 + + * buffer.c (Fkill_all_local_variables): Increment + `update_mode_lines' only once. + 2002-01-14 Pavel Jan,Bm(Bk * 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. */