bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37116: 26.1; User choice user-emacs-directory is not honored


From: Eli Zaretskii
Subject: bug#37116: 26.1; User choice user-emacs-directory is not honored
Date: Tue, 20 Aug 2019 19:55:50 +0300

> Date: Tue, 20 Aug 2019 16:33:46 +0200 (CEST)
> From: bruno.vasselle--- via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Alright... but it's not legitimate: as I've set `user-emacs-directory', I 
> should not have to furthermore tell
> auto-save where to put its material. If I need to, this means I need to also 
> for every possible package that uses
> user-emacs-directory. And emacs still trashes my home directory.

Does the patch below solve your problem?

diff --git a/lisp/startup.el b/lisp/startup.el
index 32051c2..d753e6a 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -405,6 +405,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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]