From: Andreas Schwab Date: Fri, 18 Sep 1998 09:17:45 +0000 (+0000) Subject: (cpp-face-light-list, cpp-face-dark-list): Fix X-Git-Tag: emacs-20.4~1678 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b44343bfba21da7d93c2615d5156a7d326296da;p=emacs.git (cpp-face-light-list, cpp-face-dark-list): Fix customize type. --- diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index 704901268eb..975ca76eac7 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el @@ -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