diff options
| author | Glenn Morris | 2007-11-27 04:12:50 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-11-27 04:12:50 +0000 |
| commit | 6df98952054cd7b745cab7262f6592902310cf2c (patch) | |
| tree | 06793d77199c1fe1a115a0520b6183866301beb1 | |
| parent | 538f2308f7881552a5fa8651b4ee6aee9a2f87fe (diff) | |
| download | emacs-6df98952054cd7b745cab7262f6592902310cf2c.tar.gz emacs-6df98952054cd7b745cab7262f6592902310cf2c.zip | |
(add-to-diary-list, diary-name-pattern)
(mark-calendar-days-named): Declare as functions.
| -rw-r--r-- | lisp/calendar/cal-bahai.el | 10 |
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." | |||
| 204 | (if (calendar-date-is-visible-p date) | 204 | (if (calendar-date-is-visible-p date) |
| 205 | (list (list date string)))))))) | 205 | (list (list date string)))))))) |
| 206 | 206 | ||
| 207 | ;; d-b-l-e should be called from diary code. | ||
| 208 | (declare-function add-to-diary-list "diary-lib" | ||
| 209 | (date string specifier &optional marker globcolor literal)) | ||
| 210 | |||
| 207 | (defun diary-bahai-list-entries () | 211 | (defun diary-bahai-list-entries () |
| 208 | "Add any Bahá'í date entries from the diary file to `diary-entries-list'. | 212 | "Add any Bahá'í date entries from the diary file to `diary-entries-list'. |
| 209 | Bahá'í date diary entries must be prefaced by an | 213 | Bahá'í date diary entries must be prefaced by an |
| @@ -290,6 +294,12 @@ calendar. This function is provided for use with the | |||
| 290 | (set-buffer-modified-p diary-modified)) | 294 | (set-buffer-modified-p diary-modified)) |
| 291 | (goto-char (point-min)))) | 295 | (goto-char (point-min)))) |
| 292 | 296 | ||
| 297 | (declare-function diary-name-pattern "diary-lib" | ||
| 298 | (string-array &optional abbrev-array paren)) | ||
| 299 | |||
| 300 | (declare-function mark-calendar-days-named "diary-lib" | ||
| 301 | (dayname &optional color)) | ||
| 302 | |||
| 293 | (defun diary-bahai-mark-entries () | 303 | (defun diary-bahai-mark-entries () |
| 294 | "Mark days in the calendar window that have Bahá'í date diary entries. | 304 | "Mark days in the calendar window that have Bahá'í date diary entries. |
| 295 | Each entry in diary-file (or included files) visible in the calendar | 305 | Each entry in diary-file (or included files) visible in the calendar |