Variable: cpp-edit-list

cpp-edit-list is a customizable variable defined in cpp.el.gz.

Value

nil

Documentation

Alist of cpp macros and information about how they should be displayed.

Each entry is a list with the following elements:
0. The name of the macro (a string).
1. Face used for text that is ifdef the macro.
2. Face used for text that is ifndef the macro.
3. t, nil, or both depending on what text may be edited.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(defcustom cpp-edit-list nil
  "Alist of cpp macros and information about how they should be displayed.
Each entry is a list with the following elements:
0. The name of the macro (a string).
1. Face used for text that is `ifdef' the macro.
2. Face used for text that is `ifndef' the macro.
3. t, nil, or `both' depending on what text may be edited."
  :type '(repeat (list (string :tag "Macro")
		       (cpp-face :tag "True")
		       (cpp-face :tag "False")
		       (choice (const :tag "True branch writable" t)
			       (const :tag "False branch writable" nil)
                               (const :tag "Both branches writable" both)))))