]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
authorMark Oteiza <mvoteiza@udel.edu>
Thu, 4 Feb 2016 17:48:35 +0000 (12:48 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Thu, 4 Feb 2016 17:48:35 +0000 (12:48 -0500)
lisp/net/eww.el

index e8b8c63addb38e8930df86c3efe2800d6366e55b..6a5fb4bdcf0490ffbce43975b2adb2f366a249ec 100644 (file)
@@ -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))