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-hebrew.el, v [EMACS_22_


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/calendar/cal-hebrew.el, v [EMACS_22_BASE]
Date: Sun, 25 May 2008 20:08:32 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       08/05/25 20:08:32

Index: cal-hebrew.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/calendar/cal-hebrew.el,v
retrieving revision 1.26.2.2
retrieving revision 1.26.2.3
diff -u -b -r1.26.2.2 -r1.26.2.3
--- cal-hebrew.el       7 Jan 2008 01:03:39 -0000       1.26.2.2
+++ cal-hebrew.el       25 May 2008 20:08:31 -0000      1.26.2.3
@@ -953,10 +953,7 @@
                      entry
                      (if (= y d) "" " (evening)")
                      diff
-                     (cond ((= (% diff 10) 1) "st")
-                           ((= (% diff 10) 2) "nd")
-                           ((= (% diff 10) 3) "rd")
-                           (t "th")))))))
+                     (diary-ordinal-suffix diff))))))
 
 (defun diary-rosh-hodesh (&optional mark)
   "Rosh Hodesh diary entry.




reply via email to

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