mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Update files times in multisesssion properly
* lisp/emacs-lisp/multisession.el (multisession--backend-set-value): Make cached/external files times match up.
This commit is contained in:
parent
ed77d1a8c0
commit
81b589518c
1 changed files with 1 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ DOC should be a doc string, and ARGS are keywords as applicable to
|
|||
(create-lockfiles nil)
|
||||
(temp (make-temp-name file)))
|
||||
(write-region (point-min) (point-max) temp nil 'silent)
|
||||
(set-file-times temp time)
|
||||
(rename-file temp file t)))
|
||||
(setf (multisession--cached-sequence object) time
|
||||
(multisession--cached-value object) value)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue