From 9bbc77c2c71e288776b232df0d4501245eaed8f0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 29 Aug 2019 18:45:20 -0400 Subject: [PATCH] Focus org-capture frame on MacOS --- modules/lang/org/autoload/org-capture.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index fa19ee6b7..a5041362c 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -40,6 +40,7 @@ you're done. This can be called from an external shell script." (frame (if (+org-capture-frame-p) (selected-frame) (make-frame +org-capture-frame-parameters)))) + (select-frame-set-input-focus frame) ; fix MacOS not focusing new frames (with-selected-frame frame (require 'org-capture) (condition-case ex