From: Paul Eggert Date: Sun, 1 Sep 2019 16:56:40 +0000 (-0700) Subject: Fix load-theme bug with user-emacs-directory X-Git-Tag: emacs-27.0.90~1553^2~57 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba12c5467dadd228a00bcf972fd8415c26f4a4bd;p=emacs.git 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). --- 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\". 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")