From 0a1a957fa5682e70f025d2818619ce5bf823c4c5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 30 Sep 2006 01:25:25 +0000 Subject: [PATCH] (european-calendar-style): Tweak previous fix. --- lisp/calendar/calendar.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 8fbc3ac9b52..6fc18d05837 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -578,11 +578,10 @@ calendar package is already loaded). Rather, use either ;; Without :initialize (require 'calendar) throws an error because ;; american-calendar is undefined at this point. :initialize 'custom-initialize-default - :set #'(lambda (symbol value) - (if value - (european-calendar) - (american-calendar))) - :require 'calendar + :set (lambda (symbol value) + (if value + (european-calendar) + (american-calendar))) :group 'diary) ;;;###autoload -- 2.39.2