Variable: mercury-mode-hook
mercury-mode-hook is a variable defined in prolog.el.gz.
Value
nil
Documentation
Hook run after entering mercury-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/prolog.el.gz
;;;###autoload
(define-derived-mode mercury-mode prolog-mode "Prolog[Mercury]"
"Major mode for editing Mercury programs.
Actually this is just customized `prolog-mode'."
(setq-local prolog-system 'mercury)
;; Run once more to set up based on `prolog-system'
(prolog-mode-variables))