Function: cpp-edit-write

cpp-edit-write is an interactive and byte-compiled function defined in cpp.el.gz.

Signature

(cpp-edit-write SYMBOL BRANCH)

Documentation

Set which branches of SYMBOL should be writable to BRANCH.

BRANCH should be either nil (false branch), t (true branch) or both.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(defun cpp-edit-write (symbol branch)
  "Set which branches of SYMBOL should be writable to BRANCH.
BRANCH should be either nil (false branch), t (true branch) or `both'."
  (interactive (list (cpp-choose-symbol) (cpp-choose-branch)))
  (setcar (nthcdr 3 (cpp-edit-list-entry-get-or-create symbol)) branch)
  (cpp-edit-reset))