* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
This commit is contained in:
@@ -1515,7 +1515,7 @@ If CHARSET is nil then use UTF-8."
|
||||
'(:annotation-function (lambda (buf)
|
||||
(with-current-buffer buf
|
||||
(format " %s" (eww-current-url)))))))
|
||||
(switch-to-buffer
|
||||
(pop-to-buffer-same-window
|
||||
(read-buffer "Switch to EWW buffer: "
|
||||
(cl-loop for buf in (nreverse (buffer-list))
|
||||
if (with-current-buffer buf (derived-mode-p 'eww-mode))
|
||||
|
||||
Reference in New Issue
Block a user