Mercurial > emacs
changeset 80589:ed5ef027fc1e
Ed Reingold <reingold at emr.cs.iit.edu>
(diary-hebrew-yahrzeit): Use diary-ordinal-suffix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 25 May 2008 20:08:31 +0000 |
parents | 9d42c705fd64 |
children | 3c39bed710aa |
files | lisp/calendar/cal-hebrew.el |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-hebrew.el Sun May 25 13:48:22 2008 +0000 +++ b/lisp/calendar/cal-hebrew.el Sun May 25 20:08:31 2008 +0000 @@ -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.