From a88da179a7d6c718571f1b9edb4dd380bdbd1e94 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 23 Apr 2020 10:15:34 +0100 Subject: [PATCH] el/dot-emacs.el: Use more recent names for `calendar' access functions. These changed back in Emacs 23, and the compatibility aliases don't exist in Emacs 26 (why?!). --- el/dot-emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 51d77d9..9688aa8 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -355,9 +355,9 @@ as output rather than a string." (months ["Chaos" "Discord" "Confusion" "Bureaucracy" "Aftermath"]) (day-count [0 31 59 90 120 151 181 212 243 273 304 334]) - (year (- (extract-calendar-year date) 1900)) - (month (1- (extract-calendar-month date))) - (day (1- (extract-calendar-day date))) + (year (- (calendar-extract-year date) 1900)) + (month (1- (calendar-extract-month date))) + (day (1- (calendar-extract-day date))) (julian (+ (aref day-count month) day)) (dyear (+ year 3066))) (if (and (= month 1) (= day 28)) -- 2.11.0