summaryrefslogtreecommitdiff
path: root/lisp/net/browse-url.el
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2004-04-02 14:33:08 +0000
committerDavid Kastrup <dak@gnu.org>2004-04-02 14:33:08 +0000
commit78cfc6adfc7923f630cc3a821ecd85d2cc105518 (patch)
treec4e85ef89fbf692075495f0a7362ad2b40ffe635 /lisp/net/browse-url.el
parent6555a8dd3eb22a8bc87800fe58e2fe2c77c4c83a (diff)
downloademacs-78cfc6adfc7923f630cc3a821ecd85d2cc105518.tar.gz
(browse-url-generic): Use call-process
instead of start-process to allow browsers that fork and detach.
Diffstat (limited to 'lisp/net/browse-url.el')
-rw-r--r--lisp/net/browse-url.el6
1 files 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 <dbh@doc.ic.ac.uk>
@@ -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