aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.c
diff options
context:
space:
mode:
authorStefan Monnier2013-11-06 13:41:31 -0500
committerStefan Monnier2013-11-06 13:41:31 -0500
commit2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab (patch)
treec84a7a326b41b7e74e084cee68cb1fcfcf7b9131 /src/macros.c
parent6b4ac03ebef0dcd36699c34444ddce7a246c06aa (diff)
downloademacs-2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab.tar.gz
emacs-2ec9db5d1e97275a2a4c27e04ed6f3e8c3382cab.zip
* 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.c6
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.
55Non-nil arg (prefix arg) means append to last macro defined; 55Non-nil arg (prefix arg) means append to last macro defined;
56this begins by re-executing that macro as if you typed it again. 56this begins by re-executing that macro as if you typed it again.
57If optional second arg, NO-EXEC, is non-nil, do not re-execute last 57If optional second arg, NO-EXEC, is non-nil, do not re-execute last
58macro before appending to it. */) 58macro before appending to it. */)
59 (Lisp_Object append, Lisp_Object no_exec) 59 (Lisp_Object append, Lisp_Object no_exec)
60{ 60{
61 if (!NILP (KVAR (current_kboard, defining_kbd_macro))) 61 if (!NILP (KVAR (current_kboard, defining_kbd_macro)))
@@ -66,7 +66,7 @@ macro before appending to it. */)
66 current_kboard->kbd_macro_buffer = xmalloc (30 * word_size); 66 current_kboard->kbd_macro_buffer = xmalloc (30 * word_size);
67 current_kboard->kbd_macro_bufsize = 30; 67 current_kboard->kbd_macro_bufsize = 30;
68 } 68 }
69 update_mode_lines++; 69 update_mode_lines = 19;
70 if (NILP (append)) 70 if (NILP (append))
71 { 71 {
72 if (current_kboard->kbd_macro_bufsize > 200) 72 if (current_kboard->kbd_macro_bufsize > 200)
@@ -138,7 +138,7 @@ void
138end_kbd_macro (void) 138end_kbd_macro (void)
139{ 139{
140 kset_defining_kbd_macro (current_kboard, Qnil); 140 kset_defining_kbd_macro (current_kboard, Qnil);
141 update_mode_lines++; 141 update_mode_lines = 20;
142 kset_last_kbd_macro 142 kset_last_kbd_macro
143 (current_kboard, 143 (current_kboard,
144 make_event_array ((current_kboard->kbd_macro_end 144 make_event_array ((current_kboard->kbd_macro_end