Commit 1d5d4123 authored by Richard M. Stallman's avatar Richard M. Stallman

(browse-url-galeon-new-window-is-tab): New var.

(browse-url-galeon): Use that variable.
parent eab26a2f
......@@ -335,6 +335,13 @@ Defaults to the value of `browse-url-galeon-arguments' at the time
:type '(repeat (string :tag "Argument"))
:group 'browse-url)
(defcustom browse-url-galeon-new-window-is-tab nil
"Whether to open up new windows in a tab or a new window.
If non-nil, then open the URL in a new tab rather than a new window if
`browse-url-galeon' is asked to open it in a new window."
:type 'boolean
:group 'browse-url)
(defcustom browse-url-new-window-flag nil
"*If non-nil, always open a new browser window with appropriate browsers.
......@@ -893,7 +900,10 @@ used instead of `browse-url-new-window-flag'."
(if new-window '("-w" "--noraise"))
(if (browse-url-maybe-new-window new-window)
(if browse-url-galeon-new-window-is-tab
'("--new-window" "--no-raise")))
(list "-x" url)))))
(set-process-sentinel process
`(lambda (process change)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment