all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
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 16:28:30 +0200	[thread overview]
Message-ID: <87zjkslur5.fsf@yandex.ru> (raw)
In-Reply-To: <CAOnWdojrMWKuzmUdi6z+SDa86ku65JSn4u==6CDcj=YbKoteqw@mail.gmail.com> (Reuben Thomas's message of "Fri, 14 Mar 2014 13:48:27 +0000")

Reuben Thomas <rrt@sc3d.org> writes:

> So this is a hook that magically comes into existence if I assign to it:
> having done so, C-h v now works.

That's true of all hooks: a hook variable doesn't have to be defined for
`add-hook' or `run-hooks' to work. Of course, the latter won't do
anything in that case.





  reply	other threads:[~2014-03-14 14:28 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
2014-03-14 13:39     ` Stefan Monnier
2014-03-14 13:48       ` Reuben Thomas
2014-03-14 14:28         ` Dmitry Gutov [this message]
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=87zjkslur5.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --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.