aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2019-09-01 09:56:40 -0700
committerPaul Eggert2019-09-01 09:56:59 -0700
commitba12c5467dadd228a00bcf972fd8415c26f4a4bd (patch)
tree38b5423d4cdcb0c0769b866ee37ebc7ff2d74c01
parenta7d47e64aaf438feaa8cbe4d40acb7bae0eab059 (diff)
downloademacs-ba12c5467dadd228a00bcf972fd8415c26f4a4bd.tar.gz
emacs-ba12c5467dadd228a00bcf972fd8415c26f4a4bd.zip
Fix load-theme bug with user-emacs-directory
* lisp/custom.el (custom-theme-directory): Delay initialization, since the value depends on user-emacs-directory (Bug#37256).
-rw-r--r--lisp/custom.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 9bd9712b65c..2e42ea73c14 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -1137,6 +1137,7 @@ Every theme X has a property `provide-theme' whose value is \"X-theme\".
1137The command `customize-create-theme' writes theme files into this 1137The command `customize-create-theme' writes theme files into this
1138directory. By default, Emacs searches for custom themes in this 1138directory. By default, Emacs searches for custom themes in this
1139directory first---see `custom-theme-load-path'." 1139directory first---see `custom-theme-load-path'."
1140 :initialize #'custom-initialize-delay
1140 :type 'string 1141 :type 'string
1141 :group 'customize 1142 :group 'customize
1142 :version "22.1") 1143 :version "22.1")