-
-
Save caldwell/5026506 to your computer and use it in GitHub Desktop.
I put this in my ~/bin and then `alias emacs='ec'`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
which osascript > /dev/null 2>&1 && osascript -e 'tell application "Emacs" to activate' | |
emacsclient -c "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI, re: "emacsclient -c ..."
-c is not a valid option on the emacsclient shipped in the DMG.
See https://gist.github.com/caldwell/5026506#gistcomment-941485, above.