aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org/oni-org.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-02-08 09:46:59 -0800
committerGravatar Tom Willemse2022-02-08 09:46:59 -0800
commit5a15eacc0de54463306d77c4cc0f79736d656735 (patch)
treebeddd926bedceda6c71b7521fc966fa5eb26d767 /oni-org/oni-org.el
parente22b5a5626be303f93e94fbb216654197d3cb5c9 (diff)
downloademacs-config-5a15eacc0de54463306d77c4cc0f79736d656735.tar.gz
emacs-config-5a15eacc0de54463306d77c4cc0f79736d656735.zip
[oni-org] Specify some more properties on the capture frame
The name helps to specify in the window manager that it shouldn't be tiled, and the width and height are just stylistic choices.
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r--oni-org/oni-org.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 4107153..5d27a70 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -616,7 +616,11 @@ After running it once remove it from `org-capture-after-finalize-hook'."
(defun oni-org-run-capture-in-dedicated-frame ()
"Run `org-capture' in a dedicated frame."
- (with-selected-frame (make-frame '((minibuffer)))
+ (interactive)
+ (with-selected-frame (make-frame '((minibuffer . nil)
+ (name . "emacs-org-capture")
+ (width . 80)
+ (height . 24)))
(org-capture nil "t")
(delete-other-windows)
(setf (frame-width) 80)