[Org] Simplify ‘db/make-org-capture-frame’

This commit is contained in:
Daniel - 2018-11-18 16:57:16 +01:00
parent 5b64a89943
commit 83c1dfbed1
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 2 deletions

View File

@ -244,8 +244,7 @@ In ~%s~:
(make-frame '((name . "capture")))
(select-frame-by-name "capture")
(delete-other-windows)
(let ((org-capture-after-finalize-hook org-capture-after-finalize-hook))
(org-capture)))
(org-capture))
(defun db/delete-frame-if-capture (&rest r)
"If current frame was made for a capture, close after done."