Applied Glenn Morris patch.

(list-diary-entries-hook): Declare for compiler.
(org-get-entries-from-diary): Require diary-lib.

Ref in the emacs-diffs mailing list:
<E1JXpsE-0008A3-19@cvs.savannah.gnu.org>
This commit is contained in:
Bastien Guerry 2008-03-08 09:31:47 +00:00
parent eecb21506c
commit 135d2ba17a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-03-08 Glenn Morris <rmg@gnu.org>
(list-diary-entries-hook): Declare for compiler.
(org-get-entries-from-diary): Require diary-lib.
2008-03-07 Glenn Morris <rmg@gnu.org>
(org-agenda-sunrise-sunset): Require solar.

2
org.el
View File

@ -21531,9 +21531,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)