Variable: eww-browse-url-new-window-is-tab

eww-browse-url-new-window-is-tab is a customizable variable defined in eww.el.gz.

Value

tab-bar

Documentation

Whether to open up new windows in a tab or a new buffer.

If t, then open the URL in a new tab rather than a new buffer if eww-browse-url is asked to open it in a new window. If tab-bar, then open the URL in a new tab only when the tab bar is enabled.

This variable was added, or its default value changed, in Emacs 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defcustom eww-browse-url-new-window-is-tab 'tab-bar
  "Whether to open up new windows in a tab or a new buffer.
If t, then open the URL in a new tab rather than a new buffer if
`eww-browse-url' is asked to open it in a new window.
If `tab-bar', then open the URL in a new tab only when
the tab bar is enabled."
  :version "27.1"
  :group 'eww
  :type '(choice (const :tag "Always open URL in new tab" t)
                 (const :tag "Open new tab when tab bar is enabled" tab-bar)
                 (const :tag "Never open URL in new tab" nil)))