[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 <simon@trickshot.nu> 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.
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
Re: trailing whitespace visible on some buffers, Michael J Downes, 2002/09/16