From 1c0f1a199ca0114d8fa486a1a0df430677b91d5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Wed, 22 Jun 2011 18:44:53 +0200 Subject: [PATCH] From Lawrence Mitchell : Don't hang in browse-url-xdg-open. * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil BUFFER in call-process. --- lisp/ChangeLog | 5 +++++ lisp/net/browse-url.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 57f4608ab72..6fb8a993d57 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-06-22 Lawrence Mitchell + + * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil + BUFFER in call-process. + 2011-06-22 Lars Magne Ingebrigtsen * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index c1ec3f0ed13..d9e6827d2df 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -958,7 +958,7 @@ Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3." ;;;###autoload (defun browse-url-xdg-open (url &optional new-window) (interactive (browse-url-interactive-arg "URL: ")) - (call-process "nohup" nil nil nil "xdg-open" url)) + (call-process "xdg-open" nil 0 nil url)) ;;;###autoload (defun browse-url-netscape (url &optional new-window) -- 2.39.2