Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created June 5, 2012 03:22
Show Gist options
  • Save rummelonp/2872420 to your computer and use it in GitHub Desktop.
Save rummelonp/2872420 to your computer and use it in GitHub Desktop.
Mac の Emacs から URL 開く時にバックグラウンドで開く
;; 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