Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
24827db9
Commit
24827db9
authored
Jul 01, 2013
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before unlinking it.
Fixes: debbugs:14691
parent
f90ac821
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/emacs.c
src/emacs.c
+5
-1
No files found.
src/ChangeLog
View file @
24827db9
2013-07-01 Juanma Barranquero <lekktu@gmail.com>
* emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before
unlinking it (bug#14691).
2013-06-30 Michal Nazarewicz <mina86@mina86.com>
* buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
...
...
src/emacs.c
View file @
24827db9
...
...
@@ -1864,7 +1864,11 @@ all of which are called before Emacs is actually killed. */)
kill it because we are exiting Emacs deliberately (not crashing).
Do it after shut_down_emacs, which does an auto-save. */
if
(
STRINGP
(
Vauto_save_list_file_name
))
unlink
(
SSDATA
(
Vauto_save_list_file_name
));
{
Lisp_Object
listfile
;
listfile
=
Fexpand_file_name
(
Vauto_save_list_file_name
,
Qnil
);
unlink
(
SSDATA
(
listfile
));
}
if
(
INTEGERP
(
arg
))
exit_code
=
(
XINT
(
arg
)
<
0
...
...
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