changeset 76641:6d2ab8b45146

(diary-set-maybe-redraw): Autoload it. (diary-display-hook): Add custom :set function.
author Glenn Morris <rgm@gnu.org>
date Wed, 21 Mar 2007 06:25:58 +0000
parents 1e01809a040c
children 0d6100214921
files lisp/calendar/calendar.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Wed Mar 21 06:25:47 2007 +0000
+++ b/lisp/calendar/calendar.el	Wed Mar 21 06:25:58 2007 +0000
@@ -770,6 +770,8 @@
   :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 @@
 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