projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149e6e0
)
Work around lsp-mode compatibility bug
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 24 Nov 2022 20:56:22 +0000
(12:56 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 24 Nov 2022 20:57:02 +0000
(12:57 -0800)
* src/timefns.c (Ftime_subtract): Respect current-time-list when
args are eq (Bug#59506).
src/timefns.c
patch
|
blob
|
history
diff --git
a/src/timefns.c
b/src/timefns.c
index eed2edf1cc0276b4b21dbe71bb7e933c1d9f0365..9beec1ce384afde11a3cc344ef61cb0484a3bac9 100644
(file)
--- 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);
}