help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Calendar's buffer hooks


From: Karl Eichwalder
Subject: Re: Calendar's buffer hooks
Date: Wed, 18 Sep 2002 10:36:32 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Simon Hooper <address@hidden> writes:

> (add-hook 'calendar-mode-hook 'simon-calendar-function)

calendar-mode-hook isn't defined.  Try:

(add-hook 'initial-calendar-window-hook 'simon-calendar-function)

I just found it's documented in the manual:

File: elisp,  Node: Calendar Customizing,  Next: Holiday Customizing,  Up: 
Calendar

Customizing the Calendar

[...]

   Starting the calendar runs the normal hook
`initial-calendar-window-hook'.  Recomputation of the calendar display
does not run this hook.  But if you leave the calendar with the `q'
command and reenter it, the hook runs again.


-- 
address@hidden (work) / address@hidden (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)


reply via email to

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