[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14691: Acknowledgement (24.3; auto-save-list)
From: |
Juanma Barranquero |
Subject: |
bug#14691: Acknowledgement (24.3; auto-save-list) |
Date: |
Sat, 29 Jun 2013 23:19:51 +0200 |
On Sat, Jun 29, 2013 at 10:35 PM, Glenn Morris <rgm@gnu.org> wrote:
> No, it's an Emacs bug that we should fix.
Presumably is nothing harder than
=== modified file 'src/emacs.c'
--- src/emacs.c 2013-06-24 00:31:31 +0000
+++ src/emacs.c 2013-06-29 21:18:32 +0000
@@ -1864,7 +1864,11 @@
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