Function: cpp-edit-toggle-known

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

Signature

(cpp-edit-toggle-known ARG)

Documentation

Toggle writable status for known conditionals.

With optional argument ARG, make them writable if ARG is positive, otherwise make them unwritable.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(defun cpp-edit-toggle-known (arg)
  "Toggle writable status for known conditionals.
With optional argument ARG, make them writable if ARG is positive,
otherwise make them unwritable."
  (interactive "@P")
  (if (or (and (null arg) cpp-known-writable)
	  (<= (prefix-numeric-value arg) 0))
      (setq cpp-known-writable nil)
    (setq cpp-known-writable t))
  (cpp-edit-reset))