emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calendar/cal-french.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/calendar/cal-french.el,v
Date: Sat, 08 Mar 2008 03:40:52 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/03/08 03:40:52

Index: cal-french.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/calendar/cal-french.el,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- cal-french.el       8 Jan 2008 20:44:04 -0000       1.36
+++ cal-french.el       8 Mar 2008 03:40:52 -0000       1.37
@@ -159,6 +159,7 @@
                (1- (calendar-absolute-from-french (list month 1 year))))))
     (list month day year))))
 
+;;;###autoload
 (defun calendar-french-date-string (&optional date)
   "String of French Revolutionary date of Gregorian DATE.
 Returns the empty string if DATE is pre-French Revolutionary.
@@ -184,6 +185,7 @@
          (aref (french-calendar-month-name-array) (1- m))
          y)))))
 
+;;;###autoload
 (defun calendar-print-french-date ()
   "Show the French Revolutionary calendar equivalent of the selected date."
   (interactive)
@@ -192,6 +194,7 @@
         (message "Date is pre-French Revolution")
       (message "French Revolutionary date: %s" f))))
 
+;;;###autoload
 (defun calendar-goto-french-date (date &optional noecho)
   "Move cursor to French Revolutionary date DATE.
 Echo French Revolutionary date unless NOECHO is t."
@@ -205,7 +208,7 @@
                (if accents
                    "Année de la Révolution (>0): "
                   "Anne'e de la Re'volution (>0): ")
-               '(lambda (x) (> x 0))
+               (lambda (x) (> x 0))
                (int-to-string
                 (extract-calendar-year
                  (calendar-french-from-absolute
@@ -216,13 +219,13 @@
                     (append months
                             (if (french-calendar-leap-year-p year)
                                 (mapcar
-                                 '(lambda (x) (concat "Jour " x))
+                                 (lambda (x) (concat "Jour " x))
                                  french-calendar-special-days-array)
                               (reverse
                                (cdr;; we don't want rev. day in a non-leap yr.
                                 (reverse
                                  (mapcar
-                                  '(lambda (x)
+                                  (lambda (x)
                                      (concat "Jour " x))
                                   special-days))))))))
            (completion-ignore-case t)
@@ -236,7 +239,7 @@
                     (- month 12)
                   (calendar-read
                    "Jour (1-30): "
-                   '(lambda (x) (and (<= 1 x) (<= x 30))))))
+                   (lambda (x) (and (<= 1 x) (<= x 30))))))
            (month (if (> month 12) 13 month)))
        (list (list month day year)))))
   (calendar-goto-date (calendar-gregorian-from-absolute
@@ -252,5 +255,9 @@
 
 (provide 'cal-french)
 
-;;; arch-tag: 7e8045a3-8609-46b5-9cde-cf40ce541cf9
+;; Local Variables:
+;; generated-autoload-file: "cal-loaddefs.el"
+;; End:
+
+;; arch-tag: 7e8045a3-8609-46b5-9cde-cf40ce541cf9
 ;;; cal-french.el ends here




reply via email to

[Prev in Thread] Current Thread [Next in Thread]