From 92f0a338ad8296e291a65c154dc1427d9c591c77 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 27 Nov 2007 04:17:55 +0000 Subject: [PATCH] (calendar-current-date): Declare as a function. --- lisp/calendar/todo-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 13ef042f736..e3db7e46407 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el @@ -916,6 +916,9 @@ Number of entries for each category is given by `todo-print-priorities'." (defvar date) (defvar entry)) +;; t-c should be used from diary code, which requires calendar. +(declare-function calendar-current-date "calendar" nil) + ;; Read about this function in the setup instructions above! ;;;###autoload (defun todo-cp () -- 2.39.2