From 7a7164ea3eb7b3b7d2f7cfaec4ef73a90e14f735 Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Thu, 4 Feb 2016 12:48:35 -0500 Subject: [PATCH] * lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead. --- lisp/net/eww.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index e8b8c63addb..6a5fb4bdcf0 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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)) -- 2.39.2