Variable: ConTeXt-mode-hook

ConTeXt-mode-hook is a variable defined in context.el.

Value

nil

Documentation

Hook run after entering ConTeXt 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 ~/.emacs.d/elpa/auctex-14.1.2/context.el
;;;###autoload
(define-derived-mode ConTeXt-mode TeX-mode "ConTeXt"
  "Major mode in AUCTeX for editing ConTeXt files.

Entering `ConTeXt-mode' calls the value of `text-mode-hook',
then the value of `TeX-mode-hook', and then the value
of `ConTeXt-mode-hook'."
  :after-hook (ConTeXt-mode-cleanup)
  (context-guess-current-interface)
  (require (intern (concat "context-" ConTeXt-current-interface)))
  (funcall (intern (concat "ConTeXt--mode-" ConTeXt-current-interface)))

  ;; set mode line
  (setq TeX-base-mode-name mode-name))