[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2bda029 07/13: Use time-convert in with-decoded-time-value
From: |
Paul Eggert |
Subject: |
master 2bda029 07/13: Use time-convert in with-decoded-time-value |
Date: |
Mon, 6 Dec 2021 02:24:22 -0500 (EST) |
branch: master
commit 2bda02943b555b184f09dd1a5882e04a288f5026
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Use time-convert in with-decoded-time-value
* lisp/calendar/time-date.el (with-decoded-time-value):
Prefer time-convert to current-time on the off chance that code
will use this obsolete macro even after current-time returns pairs.
---
lisp/calendar/time-date.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index 37a16d3..b361712 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/time-date.el
@@ -69,7 +69,7 @@ list (HIGH LOW MICRO PICO)."
(pop elt)))
(time-value (car elt))
(gensym (make-symbol "time")))
- `(let* ,(append `((,gensym (or ,time-value (current-time)))
+ `(let* ,(append `((,gensym (or ,time-value (time-convert nil 'list)))
(,gensym
(cond
((integerp ,gensym)
- master updated (4434dea -> c1145c3), Paul Eggert, 2021/12/06
- master c1145c3 13/13: Update org-compat doc string, Paul Eggert, 2021/12/06
- master 084f440 06/13: Simplify message-make-expires, Paul Eggert, 2021/12/06
- master dbef214 10/13: Simplify by using format-time-string, Paul Eggert, 2021/12/06
- master 83fa35b 02/13: Use time-equal-p to compare timestamps in tests, Paul Eggert, 2021/12/06
- master 524c42f 04/13: Prefer nil to (current-time) when either will do, Paul Eggert, 2021/12/06
- master 19932c3 11/13: Avoid timestamp info loss in mh-alias-tstamp, Paul Eggert, 2021/12/06
- master 2bda029 07/13: Use time-convert in with-decoded-time-value,
Paul Eggert <=
- master 15f20c0 09/13: Simplify RFC 5322 time zone generation, Paul Eggert, 2021/12/06
- master f4d7ca7 05/13: Simplify message-unique-id etc., Paul Eggert, 2021/12/06
- master 1866373 08/13: Fix image load timekeeping bug, Paul Eggert, 2021/12/06
- master af60618 03/13: Simplify cedet-utest-elapsed-time, Paul Eggert, 2021/12/06
- master 0d88c3c 01/13: Add time-convert tests, Paul Eggert, 2021/12/06
- master a21b8c5 12/13: Fix minor clock skew issues, Paul Eggert, 2021/12/06