]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in time-date.el and expand tests
authorStefan Kangas <stefan@marxist.se>
Thu, 22 Oct 2020 14:34:11 +0000 (16:34 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 22 Oct 2020 15:33:29 +0000 (17:33 +0200)
commit997ebf91dd6b1f586af44843c37aaad4708011c3
tree103d62cd37ca0de09af45b9b4a4f25d5f02c55f8
parent8dffe61a9c461506311027c99374246440bd97fe
Use lexical-binding in time-date.el and expand tests

* lisp/calendar/time-date.el: Use lexical-binding.
* test/lisp/calendar/time-date-tests.el
(test-obsolete-with-decoded-time-value)
(test-obsolete-encode-time-value, test-format-seconds)
(test-days-to-time, test-seconds-to-string): New tests.
(test-days-in-month, test-time-since, test-time-decoded-period):
Expand test with a few more values.
lisp/calendar/time-date.el
test/lisp/calendar/time-date-tests.el