Mercurial > emacs
changeset 1707:86c951f6a444
* buffer.c (Frename_buffer): Set update_mode_lines.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Thu, 24 Dec 1992 06:03:20 +0000 |
parents | 36903f26b5cc |
children | a688543448e7 |
files | src/buffer.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Thu Dec 24 06:03:04 1992 +0000 +++ b/src/buffer.c Thu Dec 24 06:03:20 1992 +0000 @@ -535,6 +535,11 @@ } 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))