[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 55f6f1c82a: Work around lsp-mode compatibility bug
From: |
Paul Eggert |
Subject: |
master 55f6f1c82a: Work around lsp-mode compatibility bug |
Date: |
Thu, 24 Nov 2022 15:57:09 -0500 (EST) |
branch: master
commit 55f6f1c82a35f0589d3dbdd1f32fae7ea9a758d8
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Work around lsp-mode compatibility bug
* src/timefns.c (Ftime_subtract): Respect current-time-list when
args are eq (Bug#59506).
---
src/timefns.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/timefns.c b/src/timefns.c
index eed2edf1cc..9beec1ce38 100644
--- a/src/timefns.c
+++ b/src/timefns.c
@@ -1194,7 +1194,7 @@ For example, nil stands for the current time. */)
quicker while we're at it. This means (time-subtract X X) does
not signal an error if X is not a valid time value, but that's OK. */
if (BASE_EQ (a, b))
- return timespec_to_lisp ((struct timespec) {0});
+ return make_lisp_time ((struct timespec) {0});
return time_arith (a, b, true);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 55f6f1c82a: Work around lsp-mode compatibility bug,
Paul Eggert <=