changeset 5710:fc9ed3368ecc

(calendar-print-hebrew-date): Change to use calendar-hebrew-date-string.
author Richard M. Stallman <rms@gnu.org>
date Mon, 31 Jan 1994 16:16:05 +0000
parents 85119c3098a0
children 6f772d7f1289
files lisp/calendar/calendar.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Mon Jan 31 07:05:45 1994 +0000
+++ b/lisp/calendar/calendar.el	Mon Jan 31 16:16:05 1994 +0000
@@ -3003,9 +3003,8 @@
   (interactive)
   (message "Hebrew date (until sunset): %s"
            (calendar-hebrew-date-string
-            (calendar-hebrew-from-absolute
-             (or (calendar-cursor-to-date)
-                 (error "Cursor is not on a date!"))))))
+            (or (calendar-cursor-to-date)
+                (error "Cursor is not on a date!")))))
 
 (defun hebrew-calendar-yahrzeit (death-date year)
   "Absolute date of the anniversary of Hebrew DEATH-DATE in Hebrew YEAR."