lang/org: remove select-frame-set-input-focus hack

Thanks to 3583e1f2e, this is no longer necessary.
This commit is contained in:
Henrik Lissner 2019-12-22 23:48:36 -05:00
parent 68ffc3cf96
commit 5ecf206681
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -12,7 +12,8 @@
(width . 70) (width . 70)
(height . 25) (height . 25)
(transient . t) (transient . t)
,(if IS-LINUX '(display . ":0"))) ,(if IS-LINUX '(display . ":0"))
,(if IS-MAC '(menu-bar-lines . 1)))
"TODO") "TODO")
;;;###autoload ;;;###autoload
@ -41,7 +42,6 @@ you're done. This can be called from an external shell script."
(frame (if (+org-capture-frame-p) (frame (if (+org-capture-frame-p)
(selected-frame) (selected-frame)
(make-frame +org-capture-frame-parameters)))) (make-frame +org-capture-frame-parameters))))
(select-frame-set-input-focus frame) ; fix MacOS not focusing new frames
(with-selected-frame frame (with-selected-frame frame
(require 'org-capture) (require 'org-capture)
(condition-case ex (condition-case ex