summaryrefslogtreecommitdiff
path: root/lisp/calendar/cal-x.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-11-27 04:14:53 +0000
committerGlenn Morris <rgm@gnu.org>2007-11-27 04:14:53 +0000
commit519d8c1923d738dfe5f310f80008313ae412f8a6 (patch)
tree7fcdf170f2286267153b3db6d4c4f37c23be1c89 /lisp/calendar/cal-x.el
parentf086f60952dff43099f65fa43efa26f0635fa552 (diff)
downloademacs-519d8c1923d738dfe5f310f80008313ae412f8a6.tar.gz
(make-fancy-diary-buffer): Declare as function.
Diffstat (limited to 'lisp/calendar/cal-x.el')
-rw-r--r--lisp/calendar/cal-x.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/calendar/cal-x.el b/lisp/calendar/cal-x.el
index 24b1f896179..4aea547f88d 100644
--- a/lisp/calendar/cal-x.el
+++ b/lisp/calendar/cal-x.el
@@ -64,6 +64,9 @@ Location and color should be set in .Xdefaults.")
"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