]> git.eshelyaron.com Git - emacs.git/commitdiff
(european-calendar-style): Tweak previous fix.
authorGlenn Morris <rgm@gnu.org>
Sat, 30 Sep 2006 01:25:25 +0000 (01:25 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 30 Sep 2006 01:25:25 +0000 (01:25 +0000)
lisp/calendar/calendar.el

index 8fbc3ac9b52d9902107478689136aaf045114151..6fc18d05837441f74dc28580f5bff751e40cd653 100644 (file)
@@ -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