From 78cfc6adfc7923f630cc3a821ecd85d2cc105518 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Fri, 2 Apr 2004 14:33:08 +0000 Subject: [PATCH] (browse-url-generic): Use call-process instead of start-process to allow browsers that fork and detach. --- lisp/net/browse-url.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index fa0d7ea7914..a70e08028d2 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -1,6 +1,6 @@ ;;; browse-url.el --- pass a URL to a WWW browser -;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 +;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001, 2004 ;; Free Software Foundation, Inc. ;; Author: Denis Howe @@ -1352,8 +1352,8 @@ don't offer a form of remote control." (interactive (browse-url-interactive-arg "URL: ")) (if (not browse-url-generic-program) (error "No browser defined (`browse-url-generic-program')")) - (apply 'start-process (concat browse-url-generic-program url) nil - browse-url-generic-program + (apply 'call-process browse-url-generic-program nil + 0 nil (append browse-url-generic-args (list url)))) ;;;###autoload -- 2.39.5