]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Recompute user-emacs-directory-relative defcustoms one more time"
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Aug 2019 13:45:10 +0000 (16:45 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 24 Aug 2019 13:45:10 +0000 (16:45 +0300)
This reverts commit bb5cd7c4caf415e40836edbbc4e62b0dd411d73f.
See bug#37173.

lisp/startup.el

index ff90646d7aeaecd4cb8b2e2f9e36473704112f16..564428580b1cfc45644d2d429b8a855caa00ff97 100644 (file)
@@ -406,7 +406,6 @@ 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)
@@ -1283,7 +1282,8 @@ please check its value")
   ;; depends on the runtime context, in case some of them depend on
   ;; the window-system features.  Example: blink-cursor-mode.
   (let (current-load-list) ; c-r-s may call defvar, and hence LOADHIST_ATTACH
-    (mapc 'custom-reevaluate-setting custom-delayed-init-variables))
+    (mapc 'custom-reevaluate-setting custom-delayed-init-variables)
+    (setq custom-delayed-init-variables nil))
 
   (normal-erase-is-backspace-setup-frame)
 
@@ -1377,14 +1377,6 @@ please check its value")
                 (eq face-ignored-fonts old-face-ignored-fonts))
       (clear-face-cache)))
 
-  ;; Re-evaluate again the predefined variables whose initial value
-  ;; depends on the runtime context, in case the user init file
-  ;; modified user-emacs-directory.  Examples: abbrev-file-name,
-  ;; auto-save-list-file-prefix.
-  (let (current-load-list) ; c-r-s may call defvar, and hence LOADHIST_ATTACH
-    (mapc 'custom-reevaluate-setting custom-delayed-init-variables)
-    (setq custom-delayed-init-variables nil))
-
   (setq after-init-time (current-time))
   ;; Display any accumulated warnings after all functions in
   ;; `after-init-hook' like `desktop-read' have finalized possible