aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
authorTom Tromey2013-06-03 12:25:05 -0600
committerTom Tromey2013-06-03 12:25:05 -0600
commit68359abba96d7ec4db8aab3d3dd9cf1105c3bab5 (patch)
tree862703e7e1a1888170136a8296a5750d6b2ae2eb /lisp/progmodes/cpp.el
parentcbcba8ce7f980b01c18c0fd561ef6687b1361507 (diff)
parente2d8a6f0a229b4ebe26484b892ec4f14888f58b6 (diff)
downloademacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.tar.gz
emacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.zip
merge from trunk; clean up some issues
Diffstat (limited to 'lisp/progmodes/cpp.el')
-rw-r--r--lisp/progmodes/cpp.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el
index 674d98b8dc3..d332d8bff31 100644
--- a/lisp/progmodes/cpp.el
+++ b/lisp/progmodes/cpp.el
@@ -136,13 +136,18 @@ Each entry is a list with the following elements:
136 ("true" . t) 136 ("true" . t)
137 ("both" . both))) 137 ("both" . both)))
138 138
139;; FIXME Gets clobbered by cpp-choose-face, so why is even it a defcustom?
139(defcustom cpp-face-default-list nil 140(defcustom cpp-face-default-list nil
140 "Alist of faces you can choose from for cpp conditionals. 141 "Alist of faces you can choose from for cpp conditionals.
141Each element has the form (STRING . FACE), where STRING 142Each element has the form (STRING . FACE), where STRING
142serves as a name (for `cpp-highlight-buffer' only) 143serves as a name (for `cpp-highlight-buffer' only)
143and FACE is either a face (a symbol) 144and FACE is either a face (a symbol)
144or a cons cell (background-color . COLOR)." 145or a cons cell (background-color . COLOR)."
145 :type '(repeat (cons string (choice face (cons (const background-color) string)))) 146 :type '(alist :key-type (string :tag "Name")
147 :value-type (choice face
148 (const invisible)
149 (cons (const background-color)
150 (string :tag "Color"))))
146 :group 'cpp) 151 :group 'cpp)
147 152
148(defcustom cpp-face-light-name-list 153(defcustom cpp-face-light-name-list