Created
April 18, 2019 18:05
-
-
Save dmitrym0/e021a6aed24728dcf5af2a05579bdda4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun make-orgcapture-frame () | |
"Create a new frame and run org-capture." | |
(interactive) | |
(make-frame '((name . "remember") (width . 80) (height . 16) | |
(top . 400) (left . 300) | |
(font . "-apple-Monaco-medium-normal-normal-*-13-*-*-*-m-0-iso10646-1") | |
)) | |
(select-frame-by-name "remember") | |
(raise-frame) | |
(delete-other-windows) | |
(org-capture) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(delete-other-windows)
doesn't seem to do what I think it should do. The new frame is split with the current buffer and org-capture.