(1- (calendar-absolute-from-coptic (list month 1 year))))))
(list month day year))))
+;;;###autoload
(defun calendar-coptic-date-string (&optional date)
"String of Coptic date of Gregorian DATE.
Returns the empty string if DATE is pre-Coptic calendar.
(year (int-to-string y)))
(mapconcat 'eval calendar-date-display-form "")))))
+;;;###autoload
(defun calendar-print-coptic-date ()
"Show the Coptic calendar equivalent of the selected date."
(interactive)
(message "Date is pre-%s calendar" coptic-name)
(message "%s date: %s" coptic-name f))))
+;;;###autoload
(defun calendar-goto-coptic-date (date &optional noecho)
"Move cursor to Coptic date DATE.
Echo Coptic date unless NOECHO is t."
(let* ((today (calendar-current-date))
(year (calendar-read
(format "%s calendar year (>0): " coptic-name)
- '(lambda (x) (> x 0))
+ (lambda (x) (> x 0))
(int-to-string
(extract-calendar-year
(calendar-coptic-from-absolute
(last (coptic-calendar-last-day-of-month month year))
(day (calendar-read
(format "%s calendar day (1-%d): " coptic-name last)
- '(lambda (x) (and (< 0 x) (<= x last))))))
+ (lambda (x) (and (< 0 x) (<= x last))))))
(list (list month day year))))
(defun diary-coptic-date ()
(let ((coptic-calendar-epoch ethiopic-calendar-epoch))
(calendar-coptic-from-absolute date)))
+;;;###autoload
(defun calendar-ethiopic-date-string (&optional date)
"String of Ethiopic date of Gregorian DATE.
Returns the empty string if DATE is pre-Ethiopic calendar.
(coptic-calendar-month-name-array ethiopic-calendar-month-name-array))
(calendar-coptic-date-string date)))
+;;;###autoload
(defun calendar-print-ethiopic-date ()
"Show the Ethiopic calendar equivalent of the selected date."
(interactive)
(coptic-calendar-month-name-array ethiopic-calendar-month-name-array))
(call-interactively 'calendar-print-coptic-date)))
+;;;###autoload
(defun calendar-goto-ethiopic-date (date &optional noecho)
"Move cursor to Ethiopic date DATE.
Echo Ethiopic date unless NOECHO is t."
(provide 'cal-coptic)
-;;; arch-tag: 72d49161-25df-4072-9312-b182cdca7627
+;; Local Variables:
+;; generated-autoload-file: "cal-loaddefs.el"
+;; End:
+
+;; arch-tag: 72d49161-25df-4072-9312-b182cdca7627
;;; cal-coptic.el ends here