aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 9aed1909bbd..d3288ad0429 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1393,7 +1393,7 @@ A non-nil FLAG means mark the buffer modified. */)
1393 smarter about updating the `*' in mode lines. --gerd */ 1393 smarter about updating the `*' in mode lines. --gerd */
1394 if (buffer_window_count (current_buffer)) 1394 if (buffer_window_count (current_buffer))
1395 { 1395 {
1396 ++update_mode_lines; 1396 update_mode_lines = 10;
1397 current_buffer->prevent_redisplay_optimizations_p = 1; 1397 current_buffer->prevent_redisplay_optimizations_p = 1;
1398 } 1398 }
1399 1399
@@ -1513,7 +1513,7 @@ This does not change the name of the visited file (if any). */)
1513 1513
1514 /* Catch redisplay's attention. Unless we do this, the mode lines for 1514 /* Catch redisplay's attention. Unless we do this, the mode lines for
1515 any windows displaying current_buffer will stay unchanged. */ 1515 any windows displaying current_buffer will stay unchanged. */
1516 update_mode_lines++; 1516 update_mode_lines = 11;
1517 1517
1518 XSETBUFFER (buf, current_buffer); 1518 XSETBUFFER (buf, current_buffer);
1519 Fsetcar (Frassq (buf, Vbuffer_alist), newname); 1519 Fsetcar (Frassq (buf, Vbuffer_alist), newname);
@@ -2765,7 +2765,7 @@ the normal hook `change-major-mode-hook'. */)
2765 2765
2766 /* Force mode-line redisplay. Useful here because all major mode 2766 /* Force mode-line redisplay. Useful here because all major mode
2767 commands call this function. */ 2767 commands call this function. */
2768 update_mode_lines++; 2768 update_mode_lines = 12;
2769 2769
2770 return Qnil; 2770 return Qnil;
2771} 2771}