Commit 2187e5bb authored by Andreas Schwab's avatar Andreas Schwab
Browse files

* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.

parent 8b1c619f
2010-10-08 Andreas Schwab <>
* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2010-10-08 Glenn Morris <>
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
......@@ -937,10 +937,7 @@ Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3."
(defun browse-url-xdg-open (url &optional new-window)
(interactive (browse-url-interactive-arg "URL: "))
(call-process "/bin/sh" nil nil nil
(concat "nohup xdg-open " (shell-quote-argument url)
">/dev/null 2>&1 </dev/null")))
(call-process "nohup" nil nil nil "xdg-open" url))
(defun browse-url-netscape (url &optional new-window)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment