Created
December 10, 2009 01:37
-
-
Save imakado/253029 to your computer and use it in GitHub Desktop.
This file contains 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
(defvar azh/carbon-emacs-shell-program-name "iTerm") | |
(defun azh/close-frame () | |
(ignore-errors (make-frame-invisible azh/frame)) | |
(when (and (featurep 'carbon-emacs-package) | |
(fboundp 'do-applescript)) | |
(let ((applescript (format "tell application \"%s\" | |
activate | |
end" azh/carbon-emacs-shell-program-name))) | |
(funcall 'do-applescript applescript)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment