Function: cpp-edit-mode

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

Signature

(cpp-edit-mode)

Documentation

Major mode for editing the criteria for highlighting cpp conditionals.

Click on objects to change them. You can also use the keyboard accelerators indicated like this: [K]ey.

This mode runs the hook cpp-edit-mode-hook, as the final or penultimate step during initialization.

- negative-argument
<delete> scroll-down
<down-mouse-2> cpp-push-button
<mouse-2> ignore
A cpp-edit-apply
B cpp-edit-background
C-c C-c cpp-edit-apply
DEL scroll-down-command
F cpp-edit-false
H cpp-edit-home
K cpp-edit-known
L cpp-edit-load
Q bury-buffer
R cpp-edit-reset
S cpp-edit-save
S-SPC scroll-down-command
SPC scroll-up-command
SPC..~ undefined
T cpp-edit-true
W cpp-edit-write
X cpp-edit-toggle-known
Y cpp-edit-toggle-unknown
a cpp-edit-apply
b cpp-edit-background
f cpp-edit-false
h cpp-edit-home
k cpp-edit-known
l cpp-edit-load
q bury-buffer
r cpp-edit-reset
s cpp-edit-save
t cpp-edit-true
u cpp-edit-unknown
w cpp-edit-write
x cpp-edit-toggle-known
y cpp-edit-toggle-unknown
€..\x3FFFFF digit-argument

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(define-derived-mode cpp-edit-mode fundamental-mode "CPP Edit"
  "Major mode for editing the criteria for highlighting cpp conditionals.
Click on objects to change them.
You can also use the keyboard accelerators indicated like this: [K]ey."
  (buffer-disable-undo)
  (auto-save-mode -1)
  (setq buffer-read-only t))