[Top][All Lists]

[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: 

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):              |                                  |      ,__o
Free Translation Project:                                |    _-\_<,             |   (*)/'(*)

reply via email to

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