summaryrefslogtreecommitdiff
path: root/lisp/calendar
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-03-21 06:25:58 +0000
committerGlenn Morris <rgm@gnu.org>2007-03-21 06:25:58 +0000
commit137753463d0a9763c998ca7be7bb26b056df1af4 (patch)
tree056119c3913a191a566e0617911d6c6f6192d82c /lisp/calendar
parenteec39ec7cdbfdf642adf1b64f8e9c6f057dd8502 (diff)
(diary-set-maybe-redraw): Autoload it.
(diary-display-hook): Add custom :set function.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/calendar.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 294027cbad5..fa7a68acd30 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -770,6 +770,8 @@ Can be used for appointment notification."
:type 'hook
:group 'diary)
+(autoload 'diary-set-maybe-redraw "diary-lib")
+
;;;###autoload
(defcustom diary-display-hook nil
"List of functions that handle the display of the diary.
@@ -794,6 +796,8 @@ if that day is a holiday; if you want such days to be shown in the fancy
diary buffer, set the variable `diary-list-include-blanks' to t."
:type 'hook
:options '(fancy-diary-display)
+ :initialize 'custom-initialize-default
+ :set 'diary-set-maybe-redraw
:group 'diary)
;;;###autoload