1
0
Fork 0

Use desktop-auto-save to save the desktop

This commit is contained in:
Bram Schoenmakers 2023-07-28 09:14:43 +02:00
parent beb4c60dc8
commit 0b0dd8dca9

View file

@ -76,7 +76,7 @@
(defun persist-state--maybe-save-desktop ()
"Save the desktop if the built-in desktop.el package is active."
(when (bound-and-true-p desktop-save-mode)
(desktop-save (car desktop-path) nil t)))
(desktop-auto-save)))
(declare-function eshell-save-some-history "ext:em-hist")
(defun persist-state--maybe-save-eshell ()