all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 17009@debbugs.gnu.org
Subject: bug#17009: Please add a hook to visual-line-mode
Date: Fri, 14 Mar 2014 03:50:20 -0400	[thread overview]
Message-ID: <01zjktrzgj.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAOnWdohSVbRkPFOCEsGLSdsfL5T=wLYmM0TA+E7KkM+b2_DFBw@mail.gmail.com> (Reuben Thomas's message of "Fri, 14 Mar 2014 00:56:06 +0000")


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.)





  reply	other threads:[~2014-03-14  7:50 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 [this message]
2014-03-14 12:17   ` Reuben Thomas
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=01zjktrzgj.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17009@debbugs.gnu.org \
    --cc=rrt@sc3d.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.