1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

(Fkill_all_local_variables): Increment `update_mode_lines' only once.

This commit is contained in:
Pavel Janík 2002-01-15 07:31:04 +00:00
parent afb05cf383
commit 1a6db83a48
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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. */