]> git.eshelyaron.com Git - emacs.git/commitdiff
(browse-url-galeon): Specify --existing for an existing window.
authorRichard M. Stallman <rms@gnu.org>
Fri, 8 Mar 2002 09:56:30 +0000 (09:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 8 Mar 2002 09:56:30 +0000 (09:56 +0000)
Use --noraise rather than --no-raise.  Don't use -x.

lisp/net/browse-url.el

index 800cb22cf5dab37bcf422e6c50946744f46e2905..1cdf9c631fd89c9e96bc19dd8f422a77e88bb470 100644 (file)
@@ -886,6 +886,10 @@ non-nil, load the document in a new Galeon window, otherwise use a
 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 @@ used instead of `browse-url-new-window-flag'."
                           (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)))))