HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307436b
)
* buffer.c (Frename_buffer): Set update_mode_lines.
author
Jim Blandy
<jimb@redhat.com>
Thu, 24 Dec 1992 06:03:20 +0000
(06:03 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Thu, 24 Dec 1992 06:03:20 +0000
(06:03 +0000)
src/buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index
3a31819
..
4a78b56
100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-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))