+2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
+
+ * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
+
2010-10-08 Glenn Morris <rgm@gnu.org>
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
;;;###autoload
(defun browse-url-xdg-open (url &optional new-window)
(interactive (browse-url-interactive-arg "URL: "))
- (call-process "/bin/sh" nil nil nil
- "-c"
- (concat "nohup xdg-open " (shell-quote-argument url)
- ">/dev/null 2>&1 </dev/null")))
+ (call-process "nohup" nil nil nil "xdg-open" url))
;;;###autoload
(defun browse-url-netscape (url &optional new-window)