[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: update date in diary
From: |
Stefan Monnier <address@hidden> |
Subject: |
Re: update date in diary |
Date: |
16 Sep 2002 09:38:27 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> (defconst diary-display-hook 'fancy-diary-display)
- the value of `diary-display-hook' is clearly not meant to be cast in
stone, so why do you declare it as a constant ?
- `defconst' and `defvar' should only be used to define the variable
in its home package. So `defconst' is wrong here.
- hooks should only be manipulated via add-hook/remove-hook.
Stefan