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).
This commit is contained in:
Paul Eggert 2019-09-01 09:56:40 -07:00 committed by Paul Eggert
parent a7d47e64aa
commit ba12c5467d

View 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")