Skip to content

Instantly share code, notes, and snippets.

@ymt2
Forked from rummelonp/carbon-emacs-browse-url.el
Created January 20, 2013 05:44
Show Gist options
  • Save ymt2/4576852 to your computer and use it in GitHub Desktop.
Save ymt2/4576852 to your computer and use it in GitHub Desktop.
;; 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