Variable: superword-mode-hook

superword-mode-hook is a customizable variable defined in subword.el.gz.

Value

(superword-mode-set-explicitly(var)/superword-mode-set-explicitly(fun))

Documentation

Hook run after entering or leaving superword-mode(var)/superword-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/subword.el.gz
;;;###autoload
(define-minor-mode superword-mode
  "Toggle superword movement and editing (Superword mode).

Superword mode is a buffer-local minor mode.  Enabling it changes
the definition of words such that characters which have symbol
syntax are treated as parts of words: e.g., in `superword-mode',
\"this_is_a_symbol\" counts as one word.

\\{superword-mode-map}"
    :lighter " ²"
    (when superword-mode (subword-mode -1))
    (subword-setup-buffer))