# HG changeset patch # User Glenn Morris # Date 1196136893 0 # Node ID 62e8353f287272b9b372001b7d1af5b2e958874c # Parent 341f1d128c8bc4c2c9840cd888bf698400980bc0 (make-fancy-diary-buffer): Declare as function. diff -r 341f1d128c8b -r 62e8353f2872 lisp/calendar/cal-x.el --- a/lisp/calendar/cal-x.el Tue Nov 27 04:14:33 2007 +0000 +++ b/lisp/calendar/cal-x.el Tue Nov 27 04:14:53 2007 +0000 @@ -64,6 +64,9 @@ "Hooks to be run just after setting up a calendar frame. Can be used to change frame parameters, such as font, color, location, etc.") +;; calendar-basic-setup is called first, and will autoload diary-lib. +(declare-function make-fancy-diary-buffer "diary-lib" nil) + (defun calendar-one-frame-setup (&optional arg) "Start calendar and display it in a dedicated frame together with the diary. This function requires a display capable of multiple frames, else