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
9b59d6d0
Commit
9b59d6d0
authored
Jun 21, 1994
by
Richard M. Stallman
Browse files
(Fkill_buffer): Don't delete auto save file
if it didn't come from this Emacs session.
parent
d1739e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/buffer.c
src/buffer.c
+3
-2
No files found.
src/buffer.c
View file @
9b59d6d0
...
...
@@ -801,8 +801,9 @@ with `delete-process'.")
Freplace_buffer_in_windows
(
buf
);
Vinhibit_quit
=
tem
;
/* Delete any auto-save file. */
if
(
XTYPE
(
b
->
auto_save_file_name
)
==
Lisp_String
)
/* Delete any auto-save file, if we saved it in this session. */
if
(
XTYPE
(
b
->
auto_save_file_name
)
==
Lisp_String
&&
b
->
auto_save_modified
!=
0
)
{
Lisp_Object
tem
;
tem
=
Fsymbol_value
(
intern
(
"delete-auto-save-files"
));
...
...
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