summaryrefslogtreecommitdiff
path: root/lisp/calendar/cal-bahai.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-11-27 04:12:50 +0000
committerGlenn Morris <rgm@gnu.org>2007-11-27 04:12:50 +0000
commit6df98952054cd7b745cab7262f6592902310cf2c (patch)
tree06793d77199c1fe1a115a0520b6183866301beb1 /lisp/calendar/cal-bahai.el
parent538f2308f7881552a5fa8651b4ee6aee9a2f87fe (diff)
downloademacs-6df98952054cd7b745cab7262f6592902310cf2c.tar.gz
(add-to-diary-list, diary-name-pattern)
(mark-calendar-days-named): Declare as functions.
Diffstat (limited to 'lisp/calendar/cal-bahai.el')
-rw-r--r--lisp/calendar/cal-bahai.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el
index dae539b3436..f6d5cdb58c1 100644
--- a/lisp/calendar/cal-bahai.el
+++ b/lisp/calendar/cal-bahai.el
@@ -204,6 +204,10 @@ nil if it is not visible in the current calendar window."
(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 @@ calendar. This function is provided for use with the
(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