diff options
| author | Richard Lawrence | 2024-12-13 10:41:02 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-14 14:42:15 +0200 |
| commit | 77f73abd92f1a627ddec0648dcfe14e56b525f4d (patch) | |
| tree | 9764fd5d3a597b1e1cbfed38cbd538054369089b /java/debug.sh | |
| parent | fd021c07606264a73cd4c1f6fa6fe80a756defe0 (diff) | |
| download | emacs-77f73abd92f1a627ddec0648dcfe14e56b525f4d.tar.gz emacs-77f73abd92f1a627ddec0648dcfe14e56b525f4d.zip | |
Check for presuppositions in `calendar-date-is-valid-p'
Do not signal an error in `calendar-date-is-valid-p' if passed a
value which is not a three-element list of integers. Signaling
an error makes the function unusable as a predicate for valid
date values. (Bug#74848)
* lisp/calendar/calendar.el (calendar-date-is-valid-p): Add the
check that input is a 3-element list.
* test/lisp/calendar/calendar-tests.el: New file with tests.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions