aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-01-13 02:35:30 +0000
committerChong Yidong2006-01-13 02:35:30 +0000
commitc798b7e89bee7dbad5dc5c1eb24c100d3618a859 (patch)
tree63f7fb410c70a2b63aa48ea4f5bd8066797e3455
parent4c92479f1bd20db9cf21221f5bae1d2b03b370b9 (diff)
downloademacs-c798b7e89bee7dbad5dc5c1eb24c100d3618a859.tar.gz
emacs-c798b7e89bee7dbad5dc5c1eb24c100d3618a859.zip
(custom-theme-add-variable): Don't add `custom-enabled-themes'.
-rw-r--r--lisp/cus-theme.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el
index afb760a7d4e..502220d278d 100644
--- a/lisp/cus-theme.el
+++ b/lisp/cus-theme.el
@@ -160,6 +160,8 @@ the directory " custom-theme-directory "\n\n")
160 (message "%s is already in the theme" (symbol-name symbol))) 160 (message "%s is already in the theme" (symbol-name symbol)))
161 ((not (boundp symbol)) 161 ((not (boundp symbol))
162 (message "%s is not defined as a variable" (symbol-name symbol))) 162 (message "%s is not defined as a variable" (symbol-name symbol)))
163 ((eq symbol 'custom-enabled-themes)
164 (message "Custom theme cannot contain `custom-enabled-themes'"))
163 (t 165 (t
164 (widget-insert "\n") 166 (widget-insert "\n")
165 (let ((widget (widget-create 'custom-variable 167 (let ((widget (widget-create 'custom-variable