Focus org-capture frame on MacOS
This commit is contained in:
parent
21883d9700
commit
9bbc77c2c7
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ 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