[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74848: [PATCH] calendar: check for presuppositions in `calendar-date
From: |
Richard Lawrence |
Subject: |
bug#74848: [PATCH] calendar: check for presuppositions in `calendar-date-is-valid-p' |
Date: |
Fri, 13 Dec 2024 13:02:36 +0100 |
Tags: patch
Tags: patch
Hi all,
Here is a patch to make calendar-date-is-valid-p return nil, instead of
signaling an error, when it is passed a value that isn't a list of the
form (MONTH DAY YEAR).
This (a) makes the function a proper predicate, as its name suggests,
which (b) is necessary in some of the new iCalendar code I've been
working on (to be posted soon).
(I've deleted the build information about the Emacs I'm sending from,
because it is different from Emacs master, against which the patch is
formatted.)
This is my first time submitting a patch with submit-emacs-patch, so
please let me know if I did anything wrong.
Thanks!
Richard
0001-calendar-check-for-presuppositions-in-calendar-date-.patch
Description: Text Data
- bug#74848: [PATCH] calendar: check for presuppositions in `calendar-date-is-valid-p',
Richard Lawrence <=