Dont do osascript for focus emacs if not in osx.
This commit is contained in:
parent
52dc92f4e3
commit
7ab9589867
@ -1 +1 @@
|
||||
Subproject commit bb4f4f083fe832abed02f6e6d1edf4e3fd04a401
|
||||
Subproject commit 37df87cf386d3645b2a88ee40d2451d1063423ba
|
@ -51,7 +51,7 @@ function emacs_make_frame_if_none_exists {
|
||||
}
|
||||
|
||||
function focus_emacs {
|
||||
osascript -e 'tell application "Emacs" to activate'
|
||||
is_osx && osascript -e 'tell application "Emacs" to activate'
|
||||
}
|
||||
|
||||
function emacs_get_running_instances {
|
||||
|
Loading…
Reference in New Issue
Block a user