From 97dcf673586b64854c3f5e802c7ecd54921bdb9b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Mar 2008 03:37:24 +0000 Subject: [PATCH] (list-diary-entries-hook): Declare for compiler. (org-get-entries-from-diary): Require diary-lib. --- lisp/textmodes/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 71d8dee75f3..a2100e78387 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -20658,9 +20658,11 @@ MATCH is being ignored." ;;; 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) -- 2.39.5