Mercurial > emacs
changeset 41460:cdee72f7332b
(browse-url-galeon-new-window-is-tab): New var.
(browse-url-galeon): Use that variable.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 25 Nov 2001 00:04:41 +0000 |
parents | 36f463a17ea9 |
children | 5507024cc13c |
files | lisp/net/browse-url.el |
diffstat | 1 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/browse-url.el Sun Nov 25 00:02:05 2001 +0000 +++ b/lisp/net/browse-url.el Sun Nov 25 00:04:41 2001 +0000 @@ -335,6 +335,13 @@ :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) + ;;;###autoload (defcustom browse-url-new-window-flag nil "*If non-nil, always open a new browser window with appropriate browsers. @@ -893,7 +900,10 @@ browse-url-galeon-program (append browse-url-galeon-arguments - (if new-window '("-w" "--noraise")) + (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))))) (set-process-sentinel process `(lambda (process change)