summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-07-27 11:06:42 +0800
committerJSDurand <mmemmew@gmail.com>2023-07-27 11:06:42 +0800
commit611f77c7b1daf8d8ab96571d961f06360eeef3f7 (patch)
tree06cfb6f796e7d7673e37b97a32c6d019e757a1be
parentb24392d7c8645baf0fe44b0fb2932db41b6fda60 (diff)
desktop: disable auto-saving
* desktop-conf.el (desktop-auto-save-timeout): Auto-saving causes some trouble for me.
-rw-r--r--desktop-conf.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-conf.el b/desktop-conf.el
index f0a53ee..6e35ddf 100644
--- a/desktop-conf.el
+++ b/desktop-conf.el
@@ -212,5 +212,9 @@ no questions asked."
(add-hook 'desktop-save-hook #'desktop-also-save-bookmarks)
+;;; Disable auto-saving
+
+(setq desktop-auto-save-timeout 0)
+
(provide 'desktop-conf)
;;; desktop-conf.el ends here