changeset 86488:41a473ff321a

(add-to-diary-list, diary-name-pattern) (mark-calendar-days-named): Declare as functions.
author Glenn Morris <rgm@gnu.org>
date Tue, 27 Nov 2007 04:12:50 +0000
parents 70414d2bb729
children 997f6a0ad183
files lisp/calendar/cal-bahai.el
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-bahai.el	Tue Nov 27 04:12:21 2007 +0000
+++ b/lisp/calendar/cal-bahai.el	Tue Nov 27 04:12:50 2007 +0000
@@ -204,6 +204,10 @@
             (if (calendar-date-is-visible-p date)
                 (list (list date string))))))))
 
+;; d-b-l-e should be called from diary code.
+(declare-function add-to-diary-list "diary-lib"
+                  (date string specifier &optional marker globcolor literal))
+
 (defun diary-bahai-list-entries ()
   "Add any Bahá'í date entries from the diary file to `diary-entries-list'.
 Bahá'í date diary entries must be prefaced by an
@@ -290,6 +294,12 @@
         (set-buffer-modified-p diary-modified))
     (goto-char (point-min))))
 
+(declare-function diary-name-pattern "diary-lib"
+                  (string-array &optional abbrev-array paren))
+
+(declare-function mark-calendar-days-named "diary-lib"
+                  (dayname &optional color))
+
 (defun diary-bahai-mark-entries ()
   "Mark days in the calendar window that have Bahá'í date diary entries.
 Each entry in diary-file (or included files) visible in the calendar