mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
prevent doom-capture frame from closing when refiling
This commit is contained in:
@@ -357,6 +357,10 @@ relative to `org-directory', unless it is an absolute path."
|
||||
(defun +org-init-capture-frame-h ()
|
||||
(add-hook 'org-capture-after-finalize-hook #'+org-capture-cleanup-frame-h)
|
||||
|
||||
(defadvice! +org-capture-refile-cleanup-frame (&rest _)
|
||||
:after #'org-capture-refile
|
||||
(+org-capture-cleanup-frame-h))
|
||||
|
||||
(when (featurep! :ui doom-dashboard)
|
||||
(add-hook '+doom-dashboard-inhibit-functions #'+org-capture-frame-p)))
|
||||
|
||||
|
Reference in New Issue
Block a user