]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-french-date): Use `date'.
authorRichard M. Stallman <rms@gnu.org>
Fri, 11 Apr 1997 02:34:09 +0000 (02:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 11 Apr 1997 02:34:09 +0000 (02:34 +0000)
Add  some additional text at the end.

lisp/calendar/cal-french.el

index 8f68841d2292899a4a810617585497ddd14b75a0..2f045e2da45133c0f4bf6c0f7281ae44ca6812f9 100644 (file)
@@ -234,10 +234,10 @@ Echo French Revolutionary date unless NOECHO is t."
 
 (defun diary-french-date ()
   "French calendar equivalent of date diary entry."
-  (let ((f (calendar-french-date-string (calendar-cursor-to-date t))))
+  (let ((f (calendar-french-date-string date)))
     (if (string-equal f "")
         "Date is pre-French Revolution"
-      f)))
+      (format "French Revolutionary date: %s" f))))
 
 (provide 'cal-french)