mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 23:31:55 -08:00
* buffer.c (Frename_buffer): Set update_mode_lines.
This commit is contained in:
parent
307436bb71
commit
76f590d740
1 changed files with 5 additions and 0 deletions
|
|
@ -535,6 +535,11 @@ This does not change the name of the visited file (if any).")
|
|||
}
|
||||
|
||||
current_buffer->name = name;
|
||||
|
||||
/* Catch redisplay's attention. Unless we do this, the mode lines for
|
||||
any windows displaying current_buffer will stay unchanged. */
|
||||
update_mode_lines++;
|
||||
|
||||
XSET (buf, Lisp_Buffer, current_buffer);
|
||||
Fsetcar (Frassq (buf, Vbuffer_alist), name);
|
||||
if (NILP (current_buffer->filename) && !NILP (current_buffer->auto_save_file_name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue