changeset 5416:3733a396e16a

(calendar-goto-french-date): Fix special day choice in non-leap years by re-reversing the list. Fix out of place parenthesis in prompt.
author Richard M. Stallman <rms@gnu.org>
date Sun, 02 Jan 1994 19:03:36 +0000
parents 95882472f2da
children 4d74f3f4ed03
files lisp/calendar/cal-french.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-french.el	Sun Jan 02 19:01:15 1994 +0000
+++ b/lisp/calendar/cal-french.el	Sun Jan 02 19:03:36 1994 +0000
@@ -168,11 +168,12 @@
                                (mapcar
                                 '(lambda (x) (concat "Jour " x))
                                 french-calendar-special-days-array)
+                             (nreverse
                               (cdr;; we don't want rev. day in a non-leap yr.
                                (nreverse
                                 (mapcar
                                  '(lambda (x) (concat "Jour " x))
-                                 french-calendar-special-days-array)))))))
+                                 french-calendar-special-days-array))))))))
           (completion-ignore-case t)
           (month (cdr (assoc
                        (capitalize
@@ -192,7 +193,7 @@
           (day (if (> month 12)
                    (- month 12)
                  (calendar-read
-                  "Jour (1-10)): "
+                  "Jour (1-10): "
                   '(lambda (x) (and (<= 1 x) (<= x 10))))))
           (month (if (> month 12) 13 month))
           (day (+ day (* 10 (1- decade)))))