1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

; * lisp/net/eww.el (eww-open-in-new-buffer): Fix change for bug#65346.

This commit is contained in:
Eli Zaretskii 2023-08-27 19:39:22 +03:00
parent 37dcdea7da
commit 332df9a043

View File

@ -566,7 +566,7 @@ NO-SELECT non-nil means do not make the new buffer the current buffer."
(tab-new)
(eww--open-url-in-new-buffer url)
(when no-select
(tab-bar-switch-to-prev-tab)))
(tab-bar-switch-to-recent-tab)))
(if no-select
(save-window-excursion (eww--open-url-in-new-buffer url))
(eww--open-url-in-new-buffer url)))