diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-06 13:41:31 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-06 13:41:31 -0500 |
commit | 2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab (patch) | |
tree | c84a7a326b41b7e74e084cee68cb1fcfcf7b9131 /src/macros.c | |
parent | 6b4ac03ebef0dcd36699c34444ddce7a246c06aa (diff) | |
download | emacs-2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab.tar.gz |
* src/xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and
redisplay--mode-lines-cause.
(redisplay_internal): Keep them uptodate. Remove redundant check of
buffer_shared_and_changed.
* *.[chm]: Number every assignment to update_mode_lines so we
can track why it is set.
Diffstat (limited to 'src/macros.c')
-rw-r--r-- | src/macros.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macros.c b/src/macros.c index 0c11efcdc9a..232188a408b 100644 --- a/src/macros.c +++ b/src/macros.c @@ -55,7 +55,7 @@ Use \\[name-last-kbd-macro] to give it a permanent name. Non-nil arg (prefix arg) means append to last macro defined; this begins by re-executing that macro as if you typed it again. If optional second arg, NO-EXEC, is non-nil, do not re-execute last -macro before appending to it. */) +macro before appending to it. */) (Lisp_Object append, Lisp_Object no_exec) { if (!NILP (KVAR (current_kboard, defining_kbd_macro))) @@ -66,7 +66,7 @@ macro before appending to it. */) current_kboard->kbd_macro_buffer = xmalloc (30 * word_size); current_kboard->kbd_macro_bufsize = 30; } - update_mode_lines++; + update_mode_lines = 19; if (NILP (append)) { if (current_kboard->kbd_macro_bufsize > 200) @@ -138,7 +138,7 @@ void end_kbd_macro (void) { kset_defining_kbd_macro (current_kboard, Qnil); - update_mode_lines++; + update_mode_lines = 20; kset_last_kbd_macro (current_kboard, make_event_array ((current_kboard->kbd_macro_end |