Variable: cwarn-mode-hook
cwarn-mode-hook is a customizable variable defined in cwarn.el.gz.
Value
(cwarn-mode-set-explicitly(var)/cwarn-mode-set-explicitly(fun))
Documentation
Hook run after entering or leaving cwarn-mode(var)/cwarn-mode(fun).
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/cwarn.el.gz
;;}}}
;;{{{ The modes
;;;###autoload
(define-minor-mode cwarn-mode
"Minor mode that highlights suspicious C and C++ constructions.
Suspicious constructs are highlighted using `font-lock-warning-face'.
Note, in addition to enabling this minor mode, the major mode must
be included in the variable `cwarn-configuration'. By default C and
C++ modes are included."
:group 'cwarn :lighter cwarn-mode-text
(cwarn-font-lock-keywords cwarn-mode)
(font-lock-flush))