Variable: conf-colon-mode-hook

conf-colon-mode-hook is a variable defined in conf-mode.el.gz.

Value

nil

Documentation

Hook run after entering conf-colon-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/textmodes/conf-mode.el.gz
;;;###autoload
(define-derived-mode conf-colon-mode conf-unix-mode "Conf[Colon]"
  "Conf Mode starter for Colon files.
\"Assignments\" are with `:'.
For details see `conf-mode'.  Example:

# Conf mode font-locks this right with \\[conf-colon-mode] (colon)

<Multi_key> <exclam> <exclam>		: \"\\241\"	exclamdown
<Multi_key> <c> <slash>			: \"\\242\"	cent"
  (conf-mode-initialize "#" 'conf-colon-font-lock-keywords)
  (setq-local conf-assignment-space conf-colon-assignment-space)
  (setq-local conf-assignment-column conf-colon-assignment-column)
  (setq-local conf-assignment-sign ?:)
  (setq-local conf-assignment-regexp ".+?\\([ \t]*:[ \t]*\\)")
  (setq-local imenu-generic-expression
	      `(("Parameters" "^[ \t]*\\(.+?\\)[ \t]*:" 1)
                ,@(cdr imenu-generic-expression))))