Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
76f590d7
Commit
76f590d7
authored
Dec 24, 1992
by
Jim Blandy
Browse files
* buffer.c (Frename_buffer): Set update_mode_lines.
parent
307436bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/buffer.c
src/buffer.c
+5
-0
No files found.
src/buffer.c
View file @
76f590d7
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment