From 5ecf2066813ed94653bbde3e12117bda16b0c3df Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 22 Dec 2019 23:48:36 -0500 Subject: [PATCH] lang/org: remove select-frame-set-input-focus hack Thanks to 3583e1f2e, this is no longer necessary. --- modules/lang/org/autoload/org-capture.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index f054ede13..5302b714a 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -12,7 +12,8 @@ (width . 70) (height . 25) (transient . t) - ,(if IS-LINUX '(display . ":0"))) + ,(if IS-LINUX '(display . ":0")) + ,(if IS-MAC '(menu-bar-lines . 1))) "TODO") ;;;###autoload @@ -41,7 +42,6 @@ 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