diff options
| -rw-r--r-- | lisp/custom.el | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index e212e32807d..c5d0e65f42b 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -1120,7 +1120,7 @@ directory first---see `custom-theme-load-path'." | |||
| 1120 | :group 'customize | 1120 | :group 'customize |
| 1121 | :version "22.1") | 1121 | :version "22.1") |
| 1122 | 1122 | ||
| 1123 | (defcustom custom-theme-load-path (list 'custom-theme-directory t) | 1123 | (defvar custom-theme-load-path (list 'custom-theme-directory t) |
| 1124 | "List of directories to search for custom theme files. | 1124 | "List of directories to search for custom theme files. |
| 1125 | When loading custom themes (e.g. in `customize-themes' and | 1125 | When loading custom themes (e.g. in `customize-themes' and |
| 1126 | `load-theme'), Emacs searches for theme files in the specified | 1126 | `load-theme'), Emacs searches for theme files in the specified |
| @@ -1132,13 +1132,11 @@ order. Each element in the list should be one of the following: | |||
| 1132 | - a directory name (a string). | 1132 | - a directory name (a string). |
| 1133 | 1133 | ||
| 1134 | Each theme file is named THEME-theme.el, where THEME is the theme | 1134 | Each theme file is named THEME-theme.el, where THEME is the theme |
| 1135 | name." | 1135 | name. |
| 1136 | :type '(repeat (choice (const :tag "custom-theme-directory" | 1136 | |
| 1137 | custom-theme-directory) | 1137 | This variable is designed for use in lisp code (including |
| 1138 | (const :tag "Built-in theme directory" t) | 1138 | external packages). For manual user customizations, use |
| 1139 | directory)) | 1139 | `custom-theme-directory' instead.") |
| 1140 | :group 'customize | ||
| 1141 | :version "24.1") | ||
| 1142 | 1140 | ||
| 1143 | (defvar custom--inhibit-theme-enable nil | 1141 | (defvar custom--inhibit-theme-enable nil |
| 1144 | "Whether the custom-theme-set-* functions act immediately. | 1142 | "Whether the custom-theme-set-* functions act immediately. |