From: Glenn Morris <rgm@gnu.org>
To: raman@users.sf.net
Cc: emacs-devel@gnu.org
Subject: Re: calendar-mode-hook: Not defined as a hook variable?
Date: Mon, 26 Mar 2007 15:27:21 -0400 [thread overview]
Message-ID: <5ly7lju7om.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <17925.53080.369528.189120@gargle.gargle.HOWL> (T. V. Raman's message of "Sat, 24 Mar 2007 18:24:40 -0700")
"T. V. Raman" wrote:
> The only occurrence of calendar-mode-hook at this point is in
> the call to run-mode-hooks
There is no need (other than aesthetics) for it to be defined
anywhere. It works as is. Eg try:
emacs -Q --eval "(progn (add-hook 'calendar-mode-hook '(lambda () (message \"FOO\") (sit-for 5))) (calendar))"
prev parent reply other threads:[~2007-03-26 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 1:24 calendar-mode-hook: Not defined as a hook variable? T. V. Raman
2007-03-26 19:27 ` Glenn Morris [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=5ly7lju7om.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=raman@users.sf.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).