From: Glenn Morris Date: Wed, 21 Mar 2007 06:25:58 +0000 (+0000) Subject: (diary-set-maybe-redraw): Autoload it. X-Git-Tag: emacs-pretest-22.0.97~262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=137753463d0a9763c998ca7be7bb26b056df1af4;p=emacs.git (diary-set-maybe-redraw): Autoload it. (diary-display-hook): Add custom :set function. --- 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