|
From: | Glenn Morris |
Subject: | Re: calendar-mode-hook: Not defined as a hook variable? |
Date: | Mon, 26 Mar 2007 15:27:21 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
"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 in Thread] | Current Thread | [Next in Thread] |