From dce80a3c8032f5390f4e763e18a108d5f3f08772 Mon Sep 17 00:00:00 2001 From: James Ravn Date: Wed, 8 Apr 2020 12:39:00 +0100 Subject: [PATCH] Disable deft's buffer auto-save By default deft will save a changed buffer that it opens after 1 second. This causes problematic interactions with the rest of doom - like with wsbutler (insert space, try to insert a link, and it will eat the space before the link is inserted). I think it's best for auto-save to be managed by a separate package, rather than this ad-hoc save that occurs only in buffers that deft opens. --- modules/ui/deft/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ui/deft/config.el b/modules/ui/deft/config.el index 18cbcc79c..2652be58d 100644 --- a/modules/ui/deft/config.el +++ b/modules/ui/deft/config.el @@ -7,6 +7,8 @@ ;; de-couples filename and note title: deft-use-filename-as-title nil deft-use-filter-string-for-filename t + ;; disable auto-save + deft-auto-save-interval -1.0 ;; converts the filter string into a readable file-name using kebab-case: deft-file-naming-rules '((noslash . "-")