]> git.eshelyaron.com Git - emacs.git/commitdiff
(cpp-face-light-list, cpp-face-dark-list): Fix
authorAndreas Schwab <schwab@suse.de>
Fri, 18 Sep 1998 09:17:45 +0000 (09:17 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 18 Sep 1998 09:17:45 +0000 (09:17 +0000)
customize type.

lisp/progmodes/cpp.el

index 704901268ebf0b00bacdd2ec1935432e5a905c6f..975ca76eac7471d1fe43f665010d22849c4c3e88 100644 (file)
@@ -157,12 +157,14 @@ or a cons cell (background-color . COLOR)."
 
 (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