From 37628fd07ed2830b23d26858af1e4bd6b1ebf741 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 26 Mar 2008 03:15:31 +0000 Subject: [PATCH] Remove floating-point check. Explicitly require calendar, not cal-julian. --- lisp/ChangeLog | 46 ++++++++++++++++++++++++++++++++++++++---- lisp/calendar/solar.el | 8 +++----- 2 files changed, 45 insertions(+), 9 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e7be006ac8f..3357b5e5340 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,45 @@ +2008-03-26 Glenn Morris + + * calendar/cal-bahai.el: Require calendar, not cal-julian. + (calendar-bahai-epoch): Doc fix. + + * calendar/cal-china.el: Explicitly require calendar. + + * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el: + Require calendar rather than cal-julian. + Autoload calendar-absolute-from-julian. + * calendar/cal-coptic.el (coptic-calendar-epoch): + * calendar/cal-islam.el (calendar-islamic-epoch): + * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling. + + * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix. + + * calendar/cal-dst.el: Don't require cal-persia. + (calendar-absolute-from-persian): Autoload it. + (dst-adjust-time): Doc fix. + + * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that + cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the + calendar. + + * calendar/cal-menu.el: Require calendar rather than declaring + functions. + * calendar/calendar.el: Provide calendar before requiring cal-menu. + + * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for + calendar-after-frame-setup-hooks. Update callers, make old name an + obsolete alias. Doc fix. + (calendar-frame-1): Doc fix. + + * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls. + + * calendar/calendar.el (oriental-holidays, solar-holidays): + * calendar/holidays.el (list-holidays): Assume atan always bound. + + * calendar/lunar.el, calendar/solar.el: Remove floating-point check. + Explicitly require calendar, not cal-julian. + * calendar/lunar.el: Explicitly require cal-dst. + 2008-03-26 Stefan Monnier * autorevert.el (auto-revert-buffers): Use buffer-live-p. @@ -5,10 +47,6 @@ * help-fns.el (describe-function-1, describe-variable): If no replacement is provided, don't print "use nil instead". -2008-03-25 Roland Winkler - - * proced.el: Update copyright. - 2008-03-25 Roland Winkler * proced.el: New file. diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index 3bc5d091c03..e11e0332636 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el @@ -54,12 +54,10 @@ ;;; Code: -(if (fboundp 'atan) - (require 'lisp-float-type) - (error "Solar calculations impossible since floating point is unavailable")) - +(require 'calendar) (require 'cal-dst) -(require 'cal-julian) +;; calendar-absolute-from-astro and v versa are cal-autoloads. +;;;(require 'cal-julian) (defcustom calendar-time-display-form -- 2.39.5