From: Grant Rettke <gcr@wisdomandwonder.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Querying available mode hooks in a given mode
Date: Mon, 14 Apr 2014 14:29:33 -0500 [thread overview]
Message-ID: <CAAjq1mckwGsSUfaFfBKEAUOZZP=U5q=DeiSFhzUHOCTehEVCyw@mail.gmail.com> (raw)
In-Reply-To: <jwvha5v1zna.fsf-monnier+gmane.emacs.help@gnu.org>
On Mon, Apr 14, 2014 at 2:27 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> You can probably use (boundp 'ess-foo-bar-hook) to test if the hook
> is available. But that will only give the right answer after loading
> the file which does (defvar ess-foo-bar-hook ...) or equivalent.
Understood and thanks.
prev parent reply other threads:[~2014-04-14 19:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 2:46 Querying available mode hooks in a given mode Grant Rettke
2014-04-13 4:54 ` Eric Abrahamsen
2014-04-14 1:52 ` Stefan Monnier
2014-04-14 8:44 ` Eric Abrahamsen
2014-04-14 19:09 ` Grant Rettke
2014-04-14 19:27 ` Stefan Monnier
2014-04-14 19:29 ` Grant Rettke [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAjq1mckwGsSUfaFfBKEAUOZZP=U5q=DeiSFhzUHOCTehEVCyw@mail.gmail.com' \
--to=gcr@wisdomandwonder.com \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).