Last active
December 28, 2015 00:39
-
-
Save yasuyk/7414659 to your computer and use it in GitHub Desktop.
Focus Emacs(emacs -nw) on OS X Terminal.app with "Edit with Emacs".
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
(when (and (eq system-type 'darwin) (eq window-system nil)) | |
(defun open-os-x-terminal () | |
(shell-command "open -a /Applications/Utilities/Terminal.app")) | |
(add-hook 'edit-server-start-hook 'open-os-x-terminal)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for letting me know. :-) I replied on Google+.