From: Paul Eggert Date: Wed, 11 Sep 2019 15:50:02 +0000 (-0700) Subject: Fix auto-save with user-emacs-directory X-Git-Tag: emacs-27.0.90~1551^2~99 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=636856faa4de78912bf41eeaf0e639664a323424;p=emacs.git 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). --- diff --git a/lisp/startup.el b/lisp/startup.el index a16db242da0..ef6234128aa 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -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)