changeset 92576:932089c7230c

(list-diary-entries-hook): Declare for compiler. (org-get-entries-from-diary): Require diary-lib.
author Glenn Morris <rgm@gnu.org>
date Sat, 08 Mar 2008 03:37:24 +0000
parents 0d51af67d04b
children 2d599418bddb
files lisp/textmodes/org.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Sat Mar 08 00:13:50 2008 +0000
+++ b/lisp/textmodes/org.el	Sat Mar 08 03:37:24 2008 +0000
@@ -20658,9 +20658,11 @@
 ;;; Diary integration
 
 (defvar org-disable-agenda-to-diary nil)          ;Dynamically-scoped param.
+(defvar list-diary-entries-hook)
 
 (defun org-get-entries-from-diary (date)
   "Get the (Emacs Calendar) diary entries for DATE."
+  (require 'diary-lib)
   (let* ((fancy-diary-buffer "*temporary-fancy-diary-buffer*")
 	 (diary-display-hook '(fancy-diary-display))
 	 (pop-up-frames nil)