comparison lisp/calendar/calendar.el @ 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 a13a89e31b01
children f6dad15ba551 c0409ee15cee
comparison
equal deleted inserted replaced
76640:1e01809a040c 76641:6d2ab8b45146
768 "List of functions called after the display of the diary. 768 "List of functions called after the display of the diary.
769 Can be used for appointment notification." 769 Can be used for appointment notification."
770 :type 'hook 770 :type 'hook
771 :group 'diary) 771 :group 'diary)
772 772
773 (autoload 'diary-set-maybe-redraw "diary-lib")
774
773 ;;;###autoload 775 ;;;###autoload
774 (defcustom diary-display-hook nil 776 (defcustom diary-display-hook nil
775 "List of functions that handle the display of the diary. 777 "List of functions that handle the display of the diary.
776 If nil (the default), `simple-diary-display' is used. Use `ignore' for no 778 If nil (the default), `simple-diary-display' is used. Use `ignore' for no
777 diary display. 779 diary display.
792 diary buffer will not show days for which there are no diary entries, even 794 diary buffer will not show days for which there are no diary entries, even
793 if that day is a holiday; if you want such days to be shown in the fancy 795 if that day is a holiday; if you want such days to be shown in the fancy
794 diary buffer, set the variable `diary-list-include-blanks' to t." 796 diary buffer, set the variable `diary-list-include-blanks' to t."
795 :type 'hook 797 :type 'hook
796 :options '(fancy-diary-display) 798 :options '(fancy-diary-display)
799 :initialize 'custom-initialize-default
800 :set 'diary-set-maybe-redraw
797 :group 'diary) 801 :group 'diary)
798 802
799 ;;;###autoload 803 ;;;###autoload
800 (defcustom nongregorian-diary-listing-hook nil 804 (defcustom nongregorian-diary-listing-hook nil
801 "List of functions called for listing diary file and included files. 805 "List of functions called for listing diary file and included files.