Variable: image-minor-mode-hook

image-minor-mode-hook is a customizable variable defined in image-mode.el.gz.

Value

nil

Documentation

Hook run after entering or leaving image-minor-mode(var)/image-minor-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/image-mode.el.gz
;;;###autoload
(define-minor-mode image-minor-mode
  "Toggle Image minor mode in this buffer.

Image minor mode provides the key \\<image-mode-map>\\[image-toggle-display],
to switch back to `image-mode' and display an image file as the
actual image."
  :lighter (:eval (if image-type (format " Image[%s]" image-type) " Image"))
  :group 'image
  :version "22.1"
  (if image-minor-mode
      (add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t)))