# HG changeset patch # User Richard M. Stallman # Date 1015581390 0 # Node ID 21f583da1eacdbc7e4d361ee4216864fffd356a5 # Parent c62ae85e0f7b75a136e68e51c74bbde199467125 (browse-url-galeon): Specify --existing for an existing window. Use --noraise rather than --no-raise. Don't use -x. diff -r c62ae85e0f7b -r 21f583da1eac lisp/net/browse-url.el --- 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)))))