changeset 43778:21f583da1eac

(browse-url-galeon): Specify --existing for an existing window. Use --noraise rather than --no-raise. Don't use -x.
author Richard M. Stallman <rms@gnu.org>
date Fri, 08 Mar 2002 09:56:30 +0000
parents c62ae85e0f7b
children 6f750829ab0a
files lisp/net/browse-url.el
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/browse-url.el	Fri Mar 08 09:54:42 2002 +0000
+++ b/lisp/net/browse-url.el	Fri Mar 08 09:56:30 2002 +0000
@@ -886,6 +886,10 @@
 random existing one.  A non-nil interactive prefix argument reverses
 the effect of `browse-url-new-window-flag'.
 
+If `browse-url-galeon-new-window-is-tab' is non-nil, then whenever a
+document would otherwise be loaded in a new window, it is loaded in a
+new tab in an existing window instead.
+
 When called non-interactively, optional second argument NEW-WINDOW is
 used instead of `browse-url-new-window-flag'."
   (interactive (browse-url-interactive-arg "URL: "))
@@ -903,8 +907,9 @@
                           (if (browse-url-maybe-new-window new-window)
 			      (if browse-url-galeon-new-window-is-tab
 				  '("--new-tab")
-				'("--new-window" "--no-raise")))
-                          (list "-x" url)))))
+				'("--new-window" "--noraise"))
+                            '("--existing"))
+                          (list url)))))
     (set-process-sentinel process
 			  `(lambda (process change)
 			     (browse-url-galeon-sentinel process ,url)))))