Variable: cpp-edit-mode-hook
cpp-edit-mode-hook is a variable defined in cpp.el.gz.
Value
nil
Documentation
Hook run after entering CPP Edit mode.
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
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))