]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix auto-save with user-emacs-directory
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Sep 2019 15:50:02 +0000 (08:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Sep 2019 15:50:41 +0000 (08:50 -0700)
* lisp/startup.el (auto-save-list-file-prefix): Delay initialization,
since the value depends on user-emacs-directory (Bug#37354).

lisp/startup.el

index a16db242da043b160621816fa5874c8d5dd44cec..ef6234128aa7e2a789331f8b9bdaf677ac201ef3 100644 (file)
@@ -406,6 +406,7 @@ if you have not already set `auto-save-list-file-name' yourself.
 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)