From 1a6db83a4890157c047c599809e75dd28cf8947e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Tue, 15 Jan 2002 07:31:04 +0000 Subject: [PATCH] (Fkill_all_local_variables): Increment `update_mode_lines' only once. --- src/ChangeLog | 5 +++++ 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 @@ +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. */ -- 2.39.2