Mercurial > emacs
changeset 95298:e8ffa14b742c
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:18 +0000 |
parents | 8f91c88eb15e |
children | a1e891587964 |
files | lisp/calendar/cal-hebrew.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-hebrew.el Sun May 25 11:19:50 2008 +0000 +++ b/lisp/calendar/cal-hebrew.el Sun May 25 20:08:18 2008 +0000 @@ -862,10 +862,8 @@ 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)))))) + ;;;###diary-autoload (define-obsolete-function-alias 'diary-yahrzeit 'diary-hebrew-yahrzeit "23.1")