changeset 86514:920d7c0de619

(calendar-increment-month) (calendar-month-name, extract-calendar-year) (calendar-cursor-to-date, holiday-list, calendar-sunrise-sunset) (calendar-current-date, calendar-cursor-holidays) (calendar-date-string, insert-diary-entry, calendar-set-mark) (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2) (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday) (cal-tex-cursor-filofax-daily, cal-tex-cursor-filofax-2week) (cal-tex-cursor-filofax-week, cal-tex-cursor-month) (cal-tex-cursor-month-landscape, cal-tex-cursor-year) (cal-tex-cursor-filofax-year, cal-tex-cursor-year-landscape) (calendar-day-of-year-string, calendar-iso-date-string) (calendar-julian-date-string, calendar-astro-date-string) (calendar-absolute-from-gregorian, calendar-hebrew-date-string) (calendar-persian-date-string, calendar-bahai-date-string) (calendar-islamic-date-string, calendar-chinese-date-string) (calendar-coptic-date-string, calendar-ethiopic-date-string) (calendar-french-date-string, calendar-mayan-date-string) (calendar-print-chinese-date, calendar-goto-date): Declare as functions.
author Glenn Morris <rgm@gnu.org>
date Tue, 27 Nov 2007 08:36:08 +0000
parents d976a8fb8ef5
children 997cb670110a
files lisp/calendar/cal-menu.el
diffstat 1 files changed, 43 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-menu.el	Tue Nov 27 08:08:10 2007 +0000
+++ b/lisp/calendar/cal-menu.el	Tue Nov 27 08:36:08 2007 +0000
@@ -36,6 +36,49 @@
 ;; The code in this file is only called from calendar.el, but can't
 ;; require it (to supress undefined function warnings from compiler)
 ;; without a recursive require.
+;; All these functions are either autoloaded, or autoloaded or defined
+;; in calendar.el.
+(declare-function calendar-increment-month "calendar" (n &optional mon yr))
+(declare-function calendar-month-name      "calendar" (month &optional abbrev))
+(declare-function extract-calendar-year    "calendar" (date))
+(declare-function calendar-cursor-to-date  "calendar" (&optional error))
+(declare-function holiday-list             "holidays" (y1 y2 &optional l label))
+(declare-function calendar-sunrise-sunset  "solar"    nil)
+(declare-function calendar-current-date    "calendar" nil)
+(declare-function calendar-cursor-holidays "holidays" nil)
+(declare-function calendar-date-string     "calendar"
+                  (date &optional abbreviate nodayname))
+(declare-function insert-diary-entry       "diary-lib" (arg))
+(declare-function calendar-set-mark        "calendar"  (arg))
+(declare-function cal-tex-cursor-day       "cal-tex"   (&optional arg))
+(declare-function cal-tex-cursor-week      "cal-tex"   (&optional arg))
+(declare-function cal-tex-cursor-week2     "cal-tex"   (&optional arg))
+(declare-function cal-tex-cursor-week-iso  "cal-tex"   (&optional arg))
+(declare-function cal-tex-cursor-week-monday     "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-filofax-daily   "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-filofax-2week   "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-filofax-week    "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-month           "cal-tex"    (arg))
+(declare-function cal-tex-cursor-month-landscape "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-year            "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-filofax-year    "cal-tex"    (&optional arg))
+(declare-function cal-tex-cursor-year-landscape  "cal-tex"    (&optional arg))
+(declare-function calendar-day-of-year-string    "calendar"   (&optional date))
+(declare-function calendar-iso-date-string       "cal-iso"    (&optional date))
+(declare-function calendar-julian-date-string    "cal-julian" (&optional date))
+(declare-function calendar-astro-date-string     "cal-julian" (&optional date))
+(declare-function calendar-absolute-from-gregorian "calendar" (date))
+(declare-function calendar-hebrew-date-string    "cal-hebrew" (&optional date))
+(declare-function calendar-persian-date-string   "cal-persia" (&optional date))
+(declare-function calendar-bahai-date-string     "cal-bahai"  (&optional date))
+(declare-function calendar-islamic-date-string   "cal-islam"  (&optional date))
+(declare-function calendar-chinese-date-string   "cal-china"  (&optional date))
+(declare-function calendar-coptic-date-string    "cal-coptic" (&optional date))
+(declare-function calendar-ethiopic-date-string  "cal-coptic" (&optional date))
+(declare-function calendar-french-date-string    "cal-french" (&optional date))
+(declare-function calendar-mayan-date-string     "cal-mayan"  (&optional date))
+(declare-function calendar-print-chinese-date    "cal-china"  nil)
+(declare-function calendar-goto-date             "cal-move"   (date))
 
 (defvar displayed-year)