diff options
author | Andreas Schwab <[email protected]> | 1998-09-18 09:17:45 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 1998-09-18 09:17:45 +0000 |
commit | 0b44343bfba21da7d93c2615d5156a7d326296da (patch) | |
tree | 6e44cbf5ae13831277d51b520b736c0366c389e1 /lisp/progmodes/cpp.el | |
parent | 300f7bb3474f66a5b6b22856d0b3dcbde9fd03e1 (diff) |
(cpp-face-light-list, cpp-face-dark-list): Fix
customize type.
Diffstat (limited to 'lisp/progmodes/cpp.el')
-rw-r--r-- | lisp/progmodes/cpp.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index 704901268e..975ca76eac 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 |