mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
(diary-french-date): Use `date'.
Add some additional text at the end.
This commit is contained in:
parent
75697ad97f
commit
69b31c6922
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user