all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 17009@debbugs.gnu.org
Subject: bug#17009: Please add a hook to visual-line-mode
Date: Fri, 14 Mar 2014 12:17:56 +0000	[thread overview]
Message-ID: <CAOnWdohjPTso348H+Lmw0=VJ8zWRRdaApP6duoAu2OtqV+C0cw@mail.gmail.com> (raw)
In-Reply-To: <01zjktrzgj.fsf@fencepost.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

On 14 March 2014 07:50, Glenn Morris <rgm@gnu.org> 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.
>
>     Documentation:
>     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
>     variables.)
>

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

-- 
http://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 1118 bytes --]

  reply	other threads:[~2014-03-14 12:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14  0:56 bug#17009: Please add a hook to visual-line-mode Reuben Thomas
2014-03-14  7:50 ` Glenn Morris
2014-03-14 12:17   ` Reuben Thomas [this message]
2014-03-14 13:39     ` Stefan Monnier
2014-03-14 13:48       ` Reuben Thomas
2014-03-14 14:28         ` Dmitry Gutov
2014-03-14 16:49         ` Stefan
2014-03-14 17:00           ` Reuben Thomas
2014-03-14 17:12             ` Glenn Morris
2014-03-26 13:49               ` Kevin Rodgers
2014-03-26 14:21                 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOnWdohjPTso348H+Lmw0=VJ8zWRRdaApP6duoAu2OtqV+C0cw@mail.gmail.com' \
    --to=rrt@sc3d.org \
    --cc=17009@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.