1321 |
(defalias 'redraw-modeline 'force-mode-line-update) |
(defalias 'redraw-modeline 'force-mode-line-update) |
1322 |
|
|
1323 |
(defun force-mode-line-update (&optional all) |
(defun force-mode-line-update (&optional all) |
1324 |
"Force the mode line of the current buffer to be redisplayed. |
"Force redisplay of the current buffer's mode line and header line. |
1325 |
With optional non-nil ALL, force redisplay of all mode lines." |
With optional non-nil ALL, force redisplay of all mode lines and |
1326 |
|
header lines. This function also forces recomputation of the |
1327 |
|
menu bar menus and the frame title." |
1328 |
(if all (save-excursion (set-buffer (other-buffer)))) |
(if all (save-excursion (set-buffer (other-buffer)))) |
1329 |
(set-buffer-modified-p (buffer-modified-p))) |
(set-buffer-modified-p (buffer-modified-p))) |
1330 |
|
|