diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-24 12:56:22 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-24 12:57:02 -0800 |
commit | 55f6f1c82a35f0589d3dbdd1f32fae7ea9a758d8 (patch) | |
tree | f6af651e5e02ca5c426fef96b6ca908cf538f42e /src/timefns.c | |
parent | 149e6e03b3f860c3d78031bf3377d8a4c99a7a64 (diff) | |
download | emacs-55f6f1c82a35f0589d3dbdd1f32fae7ea9a758d8.tar.gz emacs-55f6f1c82a35f0589d3dbdd1f32fae7ea9a758d8.tar.bz2 emacs-55f6f1c82a35f0589d3dbdd1f32fae7ea9a758d8.zip |
Work around lsp-mode compatibility bug
* src/timefns.c (Ftime_subtract): Respect current-time-list when
args are eq (Bug#59506).
Diffstat (limited to 'src/timefns.c')
-rw-r--r-- | src/timefns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timefns.c b/src/timefns.c index eed2edf1cc0..9beec1ce384 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); } |