From: Glenn Morris Date: Sat, 30 Sep 2006 01:25:25 +0000 (+0000) Subject: (european-calendar-style): Tweak previous fix. X-Git-Tag: emacs-pretest-22.0.90~289 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a1a957fa5682e70f025d2818619ce5bf823c4c5;p=emacs.git (european-calendar-style): Tweak previous fix. --- 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