[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17009: Please add a hook to visual-line-mode

From: Reuben Thomas
Subject: bug#17009: Please add a hook to visual-line-mode
Date: Fri, 14 Mar 2014 12:17:56 +0000

On 14 March 2014 07:50, Glenn Morris <address@hidden> wrote:

Modes defined with define-minor-mode have hooks.

C-h v visual-line-mode-hook

    visual-line-mode-hook is a variable defined in `simple.el'.
    Its value is (visual-line-mode-set-explicitly)

    This variable may be risky if used as a file-local variable.

    Hook run after entering or leaving `visual-line-mode'.
    No problems result if this variable is not bound.
    `add-hook' automatically binds it.  (This is true for all hook

Great! Is this new in 24.4, because this doesn't work for me?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]