unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Grant Rettke <gcr@wisdomandwonder.com>
To: help-gnu-emacs@gnu.org
Subject: Querying available mode hooks in a given mode
Date: Sat, 12 Apr 2014 21:46:07 -0500	[thread overview]
Message-ID: <CAAjq1me3fO9YcjSkrLS1hVgy59ciR+diAcN3-Q1MfXiGUA-_5g@mail.gmail.com> (raw)

Hi,

My goal is to, after a mode has been entered, to check whether a
particular hook exists. If it does or
does not exist, then I will run some handler code.

In an attempt to find a may to check for what hooks exist, I read the
manual, specifically the hooks
section, and didn't see what are obvious places to look.

Any idea where I should start?

Regards,

Grant Rettke | AAAS, ACM, AMA, COG, FSF, IEEE, Sigma Xi
grettke@acm.org | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



             reply	other threads:[~2014-04-13  2:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13  2:46 Grant Rettke [this message]
2014-04-13  4:54 ` Querying available mode hooks in a given mode 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

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=CAAjq1me3fO9YcjSkrLS1hVgy59ciR+diAcN3-Q1MfXiGUA-_5g@mail.gmail.com \
    --to=gcr@wisdomandwonder.com \
    --cc=help-gnu-emacs@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.
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).