[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
update_mode_lines incremented twice in kill-all-local-variables?
From: |
Pavel Janík |
Subject: |
update_mode_lines incremented twice in kill-all-local-variables? |
Date: |
Sat, 12 Jan 2002 22:07:20 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (i386-suse-linux-gnu) |
Hi,
in buffer.c, we have:
DEFUN ("kill-all-local-variables", Fkill_all_local_variables,
Skill_all_local_variables,
[...]
/* Redisplay mode lines; we are changing major mode. */
update_mode_lines++;
[...]
/* Force mode-line redisplay. Useful here because all major mode
commands call this function. */
update_mode_lines++;
Is there any reason to increment update_mode_lines *twice* in this
function?
--
Pavel Janík
/* Supposedly happens on VMS. */
error ("File size is negative");"
-- A piece of code in GNU Emacs
- update_mode_lines incremented twice in kill-all-local-variables?,
Pavel Janík <=