From: Paul Eggert <eggert@cs.ucla.edu>
To: Bastian Beischer <bastian.beischer@gmail.com>
Cc: 37354@debbugs.gnu.org, Robert Pluim <rpluim@gmail.com>,
Sven Joachim <svenjoac@gmx.de>
Subject: bug#37354: 27.0.50; Startup: auto-save-list folder created in current directory
Date: Wed, 11 Sep 2019 08:56:05 -0700 [thread overview]
Message-ID: <afaa4090-295f-486b-5925-ae9a59e67ed1@cs.ucla.edu> (raw)
In-Reply-To: <874l1laitl.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
Thanks for the bug report. I thought I'd fixed all those defcustoms, but
evidently I missed one. I installed the attached patch into master; please give
it a try.
[-- Attachment #2: 0001-Fix-auto-save-with-user-emacs-directory.patch --]
[-- Type: text/x-patch, Size: 885 bytes --]
From 72b68a63565a778d5a19e5a9275805b8b77b890c Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 11 Sep 2019 08:50:02 -0700
Subject: [PATCH] Fix auto-save with user-emacs-directory
* lisp/startup.el (auto-save-list-file-prefix): Delay initialization,
since the value depends on user-emacs-directory (Bug#37354).
---
lisp/startup.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/startup.el b/lisp/startup.el
index a16db242da..ef6234128a 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -406,6 +406,7 @@ auto-save-list-file-prefix
Directories in the prefix will be created if necessary.
Set this to nil if you want to prevent `auto-save-list-file-name'
from being initialized."
+ :initialize #'custom-initialize-delay
:type '(choice (const :tag "Don't record a session's auto save list" nil)
string)
:group 'auto-save)
--
2.17.1
next prev parent reply other threads:[~2019-09-11 15:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-09 10:02 bug#37354: 27.0.50; Startup: auto-save-list folder created in current directory Bastian Beischer
2019-09-09 12:59 ` martin rudalics
2019-09-09 13:29 ` Bastian Beischer
2019-09-09 13:33 ` Bastian Beischer
2019-09-09 13:37 ` Robert Pluim
2019-09-09 13:36 ` Robert Pluim
2019-09-11 15:56 ` Paul Eggert [this message]
2019-09-11 16:37 ` Sven Joachim
2019-09-11 16:47 ` Paul Eggert
2019-09-12 8:20 ` Robert Pluim
2019-09-12 8:21 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=afaa4090-295f-486b-5925-ae9a59e67ed1@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=37354@debbugs.gnu.org \
--cc=bastian.beischer@gmail.com \
--cc=rpluim@gmail.com \
--cc=svenjoac@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).