emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calendar-mode-hook: Not defined as a hook variable?


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))"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]