diff options
| author | Tom Tromey | 2013-06-03 12:25:05 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-06-03 12:25:05 -0600 |
| commit | 68359abba96d7ec4db8aab3d3dd9cf1105c3bab5 (patch) | |
| tree | 862703e7e1a1888170136a8296a5750d6b2ae2eb /lisp/progmodes/cpp.el | |
| parent | cbcba8ce7f980b01c18c0fd561ef6687b1361507 (diff) | |
| parent | e2d8a6f0a229b4ebe26484b892ec4f14888f58b6 (diff) | |
| download | emacs-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.el | 7 |
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. |
| 141 | Each element has the form (STRING . FACE), where STRING | 142 | Each element has the form (STRING . FACE), where STRING |
| 142 | serves as a name (for `cpp-highlight-buffer' only) | 143 | serves as a name (for `cpp-highlight-buffer' only) |
| 143 | and FACE is either a face (a symbol) | 144 | and FACE is either a face (a symbol) |
| 144 | or a cons cell (background-color . COLOR)." | 145 | or 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 |