lang/org: remove select-frame-set-input-focus hack
Thanks to 3583e1f2e
, this is no longer necessary.
This commit is contained in:
parent
68ffc3cf96
commit
5ecf206681
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue