Variable: gnus-message-citation-mode-hook

gnus-message-citation-mode-hook is a customizable variable defined in gnus-cite.el.gz.

Value

nil

Documentation

Hook run after entering or leaving gnus-message-citation-mode(var)/gnus-message-citation-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/gnus/gnus-cite.el.gz
(define-minor-mode gnus-message-citation-mode
  "Minor mode providing more font-lock support for nested citations.
When enabled, it automatically turns on `font-lock-mode'."
  :lighter ""
  (when (derived-mode-p 'message-mode)
    (if (not font-lock-mode)
        (gnus-message-citation-mode (font-lock-mode 1))
      (if gnus-message-citation-mode
	  ;; `gnus-message-citation-keywords' should be the last
	  ;; elements of the keywords because the others are unlikely
	  ;; to have the OVERRIDE flags -- XEmacs applies a keyword
	  ;; having no OVERRIDE flag to matched text even if it has
	  ;; already other faces, while Emacs doesn't.
	  (font-lock-add-keywords nil gnus-message-citation-keywords t)
        (font-lock-remove-keywords nil gnus-message-citation-keywords))
      (font-lock-flush))))