Dont do osascript for focus emacs if not in osx.

This commit is contained in:
Ivan Malison 2014-11-19 15:26:04 -08:00
parent 52dc92f4e3
commit 7ab9589867
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit bb4f4f083fe832abed02f6e6d1edf4e3fd04a401
Subproject commit 37df87cf386d3645b2a88ee40d2451d1063423ba

View File

@ -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 {