diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-10-22 16:34:11 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-10-22 17:33:29 +0200 |
commit | 997ebf91dd6b1f586af44843c37aaad4708011c3 (patch) | |
tree | 103d62cd37ca0de09af45b9b4a4f25d5f02c55f8 /lisp/calendar/time-date.el | |
parent | 8dffe61a9c461506311027c99374246440bd97fe (diff) | |
download | emacs-997ebf91dd6b1f586af44843c37aaad4708011c3.tar.gz |
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.
Diffstat (limited to 'lisp/calendar/time-date.el')
-rw-r--r-- | lisp/calendar/time-date.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 638d8c1f884..f60c9c2ffd3 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -1,4 +1,4 @@ -;;; time-date.el --- Date and time handling functions +;;; time-date.el --- Date and time handling functions -*- lexical-binding: t -*- ;; Copyright (C) 1998-2020 Free Software Foundation, Inc. |