changeset 23271:f3d8ff8877ff

(cpp-face-light-list, cpp-face-dark-list): Fix customize type.
author Andreas Schwab <schwab@suse.de>
date Fri, 18 Sep 1998 09:17:45 +0000
parents fe5ca8d66639
children 7e4879a1cb2d
files lisp/progmodes/cpp.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cpp.el	Fri Sep 18 09:17:02 1998 +0000
+++ b/lisp/progmodes/cpp.el	Fri Sep 18 09:17:45 1998 +0000
@@ -157,12 +157,14 @@
 
 (defcustom cpp-face-light-list nil
   "Alist of names and faces to be used for light backgrounds."
-  :type '(repeat (cons string face))
+  :type '(repeat (cons string (choice face
+				      (cons (const background-color) string))))
   :group 'cpp)
 
 (defcustom cpp-face-dark-list nil
   "Alist of names and faces to be used for dark backgrounds."
-  :type '(repeat (cons string face))
+  :type '(repeat (cons string (choice face
+				      (cons (const background-color) string))))
   :group 'cpp)
 
 (defcustom cpp-face-mono-list