projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655b3e0
)
Be more compatible with older desktops
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 27 Apr 2022 01:10:51 +0000
(18:10 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 27 Apr 2022 01:12:53 +0000
(18:12 -0700)
* lisp/desktop.el (desktop-save): When comparing timestamps use
time-equal-p instead of ‘equal’.
lisp/desktop.el
patch
|
blob
|
history
diff --git
a/lisp/desktop.el
b/lisp/desktop.el
index cd581e028ba67aa42b3e04cfcb14ecd5634a5773..baa3f3297054b93c0aa734dcaa9e1427c4c3a968 100644
(file)
--- a/
lisp/desktop.el
+++ b/
lisp/desktop.el
@@
-1121,7
+1121,7
@@
no questions asked."
(file-attributes (desktop-full-file-name)))))
(when
(or (not new-modtime) ; nothing to overwrite
- (
equal
desktop-file-modtime new-modtime)
+ (
time-equal-p
desktop-file-modtime new-modtime)
(yes-or-no-p (if desktop-file-modtime
(if (time-less-p desktop-file-modtime
new-modtime)