summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-10-12 16:06:20 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-10-12 16:06:20 -0400
commit2919746c6494cc29bda375c5737b1c86b7e888d1 (patch)
tree1795060e37b9cea755efdd451a76d3e96ab8ee2c /lisp/custom.el
parentaba1381b226ba72adbb775a5415f31719b13b664 (diff)
downloademacs-2919746c6494cc29bda375c5737b1c86b7e888d1.tar.gz
Add some default custom themes.
* cus-theme.el (custom-theme--listed-faces): Add cursor face. (describe-theme-1): Extract doc from unloaded themes. * custom.el (custom-theme-name-valid-p): Don't list color-themes. * themes/tango-theme.el: * themes/tango-dark-theme.el: * themes/wheatgrass-theme.el: New files.
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index ffb3a271fa4..2cb4fb2e1be 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -1149,6 +1149,9 @@ NAME should be a symbol."
(and (symbolp name)
name
(not (or (zerop (length (symbol-name name)))
+ ;; There's a third-party package named color-theme.el.
+ ;; Don't treat that as a theme.
+ (eq name 'color)
(eq name 'cus)
(eq name 'user)
(eq name 'changed)))))