mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 09:43:26 -08:00
(calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date): Use
assoc-string instead of assoc-ignore-case.
This commit is contained in:
parent
2ad9ebbd12
commit
22ebf3930a
1 changed files with 4 additions and 4 deletions
|
|
@ -256,11 +256,11 @@ Returns nil if such a tzolkin-haab combination is impossible."
|
|||
(haab-month-list (append calendar-mayan-haab-month-name-array
|
||||
(and (< haab-day 5) '("Uayeb"))))
|
||||
(haab-month (cdr
|
||||
(assoc-ignore-case
|
||||
(assoc-string
|
||||
(completing-read "Haab uinal: "
|
||||
(mapcar 'list haab-month-list)
|
||||
nil t)
|
||||
(calendar-make-alist haab-month-list 1)))))
|
||||
(calendar-make-alist haab-month-list 1) t))))
|
||||
(cons haab-day haab-month)))
|
||||
|
||||
(defun calendar-read-mayan-tzolkin-date ()
|
||||
|
|
@ -271,11 +271,11 @@ Returns nil if such a tzolkin-haab combination is impossible."
|
|||
'(lambda (x) (and (> x 0) (< x 14)))))
|
||||
(tzolkin-name-list (append calendar-mayan-tzolkin-names-array nil))
|
||||
(tzolkin-name (cdr
|
||||
(assoc-ignore-case
|
||||
(assoc-string
|
||||
(completing-read "Tzolkin uinal: "
|
||||
(mapcar 'list tzolkin-name-list)
|
||||
nil t)
|
||||
(calendar-make-alist tzolkin-name-list 1)))))
|
||||
(calendar-make-alist tzolkin-name-list 1) t))))
|
||||
(cons tzolkin-count tzolkin-name)))
|
||||
|
||||
(defun calendar-next-calendar-round-date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue