prevent doom-capture frame from closing when refiling

This commit is contained in:
wedens 2020-05-24 23:29:35 +07:00
parent a262527a7f
commit 66c4317fa2
2 changed files with 6 additions and 1 deletions

View file

@ -22,7 +22,8 @@
;;;###autoload
(defun +org-capture-cleanup-frame-h ()
"Closes the org-capture frame once done adding an entry."
(when (+org-capture-frame-p)
(when (and (+org-capture-frame-p)
(not org-capture-is-refiling))
(delete-frame nil t)))
;;;###autoload