mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
8dffe61a9c
commit
997ebf91dd
2 changed files with 52 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue