diff options
author | Jim Blandy <[email protected]> | 1992-12-24 06:03:20 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-12-24 06:03:20 +0000 |
commit | 76f590d740e5b60c0159ebed682e83bccc8a32c8 (patch) | |
tree | 36967119d65aa4c8509e2d6281d8d5eff5bc517f /src/buffer.c | |
parent | 307436bb71c08aa008d7fd05c3e8c5dc4505112c (diff) |
* buffer.c (Frename_buffer): Set update_mode_lines.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 3a31819072..4a78b56817 100644 --- 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)) |