Mercurial > emacs
changeset 54681:8e0abac00108
(browse-url-generic): Use call-process
instead of start-process to allow browsers that fork and detach.
author | David Kastrup <dak@gnu.org> |
---|---|
date | Fri, 02 Apr 2004 14:33:08 +0000 |
parents | 88e54f50860f |
children | bd0296e87c16 |
files | lisp/net/browse-url.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/browse-url.el Fri Apr 02 14:32:48 2004 +0000 +++ b/lisp/net/browse-url.el Fri Apr 02 14:33:08 2004 +0000 @@ -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 @@ (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