Created
June 5, 2012 03:22
-
-
Save rummelonp/2872420 to your computer and use it in GitHub Desktop.
Mac の Emacs から URL 開く時にバックグラウンドで開く
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
;; browse-url.el からコピペ | |
;; open コマンドに --background オプション付ける | |
(defun browse-url-default-macosx-browser (url &optional new-window) | |
(interactive (browse-url-interactive-arg "URL: ")) | |
(start-process (concat "open" url) nil "open" "--background" url)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment