GNU bug report logs - #14691
24.3; auto-save-list

Previous Next

Package: emacs;

Reported by: João Guerra <joca.bt <at> gmail.com>

Date: Sat, 22 Jun 2013 21:49:01 UTC

Severity: minor

Found in version 24.3

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: João Guerra <joca.bt <at> gmail.com>, 14691 <at> debbugs.gnu.org
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 <at> 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




This bug report was last modified 11 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.