summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-01-02 22:33:25 -0800
committerGlenn Morris <rgm@gnu.org>2013-01-02 22:33:25 -0800
commit5b00b74939065b125efab8ea826c851356425003 (patch)
tree9a6ae37b9e3753d136e1085d8b9e3c2bfa81978d
parent220740a35be2a87e7d3fdcf42fe710017d0d067a (diff)
downloademacs-5b00b74939065b125efab8ea826c851356425003.tar.gz
* term.el (term-default-fg-color, term-default-bg-color): Fix custom type.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/term.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 34c13ad67fd..d200d9733f8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2013-01-03 Glenn Morris <rgm@gnu.org>
+ * term.el (term-default-fg-color, term-default-bg-color):
+ Fix custom type.
+
* progmodes/etags.el (tags-compression-info-list): Doc fix.
(tag-find-file-of-tag-noselect): Check auto-compression-mode
rather than 'jka-compr being loaded. (Bug#13338)
diff --git a/lisp/term.el b/lisp/term.el
index aa873075bfd..8c6ac2a4adf 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -772,14 +772,14 @@ Buffer local variable.")
(defcustom term-default-fg-color nil
"If non-nil, default color for foreground in Term mode."
:group 'term
- :type 'string)
+ :type '(choice (const nil) (string :tag "color")))
(make-obsolete-variable 'term-default-fg-color "use the face `term' instead."
"24.3")
(defcustom term-default-bg-color nil
"If non-nil, default color for foreground in Term mode."
:group 'term
- :type 'string)
+ :type '(choice (const nil) (string :tag "color")))
(make-obsolete-variable 'term-default-bg-color "use the face `term' instead."
"24.3")