]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix load-theme bug with user-emacs-directory
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>
Sun, 1 Sep 2019 16:56:40 +0000 (09:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Sep 2019 16:56:59 +0000 (09:56 -0700)
* lisp/custom.el (custom-theme-directory): Delay initialization,
since the value depends on user-emacs-directory (Bug#37256).

lisp/custom.el

index 9bd9712b65c6d7ab9aa672ba61dd60537dc88e41..2e42ea73c144ec7f899e1cdf62e3cfd98a688be5 100644 (file)
@@ -1137,6 +1137,7 @@ Every theme X has a property `provide-theme' whose value is \"X-theme\".
 The command `customize-create-theme' writes theme files into this
 directory.  By default, Emacs searches for custom themes in this
 directory first---see `custom-theme-load-path'."
+  :initialize #'custom-initialize-delay
   :type 'string
   :group 'customize
   :version "22.1")