mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
src/emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before unlinking it.
Fixes: debbugs:14691
This commit is contained in:
parent
f90ac82148
commit
24827db9c4
@ -1,3 +1,8 @@
|
||||
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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user