Variable: avy-linum-mode-hook

avy-linum-mode-hook is a customizable variable defined in avy.el.

Value

nil

Documentation

Hook run after entering or leaving avy-linum-mode(var)/avy-linum-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 ~/.emacs.d/elpa/avy-20241101.1357/avy.el
(define-minor-mode avy-linum-mode
  "Minor mode that uses avy hints for `linum-mode'."
  :group 'avy
  (if avy-linum-mode
      (progn
        (require 'linum)
        (advice-add 'linum-update-window :around 'avy--linum-update-window)
        (linum-mode 1))
    (advice-remove 'linum-update-window 'avy--linum-update-window)
    (linum-mode -1)))