]> git.eshelyaron.com Git - emacs.git/commitdiff
Require calendar rather than cal-julian.
authorGlenn Morris <rgm@gnu.org>
Wed, 26 Mar 2008 03:10:04 +0000 (03:10 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 26 Mar 2008 03:10:04 +0000 (03:10 +0000)
Autoload calendar-absolute-from-julian.
(coptic-calendar-epoch): Set when compiling.

lisp/calendar/cal-coptic.el

index d336990311c20581d8c0029f586ba3e16577fc81..de7a68f7d613d6f7e723a99444c75515c1734de6 100644 (file)
@@ -36,7 +36,7 @@
 
 ;;; Code:
 
-(require 'cal-julian)
+(require 'calendar)
 
 ;; Not constants because they get let-bound.
 
    "Bashans" "Baunah" "Abib" "Misra" "al-Nasi"]
   "Array of the month names in the Coptic calendar.")
 
-(defvar coptic-calendar-epoch (calendar-absolute-from-julian '(8 29 284))
+(eval-and-compile
+  (autoload 'calendar-absolute-from-julian "cal-julian"))
+
+(defvar coptic-calendar-epoch
+  (eval-when-compile (calendar-absolute-from-julian '(8 29 284)))
   "Absolute date of start of Coptic calendar = August 29, 284 AD (Julian).")
 
 (defvar coptic-name "Coptic"