diff options
| author | Mark Oteiza | 2016-02-04 12:48:35 -0500 |
|---|---|---|
| committer | Mark Oteiza | 2016-02-04 12:48:35 -0500 |
| commit | 7a7164ea3eb7b3b7d2f7cfaec4ef73a90e14f735 (patch) | |
| tree | a0f6b40ddf2f32668a8d88b625be5199eb914378 | |
| parent | 0815944ac4a190d1402079453b99d00fcc26dc25 (diff) | |
| download | emacs-7a7164ea3eb7b3b7d2f7cfaec4ef73a90e14f735.tar.gz emacs-7a7164ea3eb7b3b7d2f7cfaec4ef73a90e14f735.zip | |
* lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
| -rw-r--r-- | lisp/net/eww.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1515 | '(:annotation-function (lambda (buf) | 1515 | '(:annotation-function (lambda (buf) |
| 1516 | (with-current-buffer buf | 1516 | (with-current-buffer buf |
| 1517 | (format " %s" (eww-current-url))))))) | 1517 | (format " %s" (eww-current-url))))))) |
| 1518 | (switch-to-buffer | 1518 | (pop-to-buffer-same-window |
| 1519 | (read-buffer "Switch to EWW buffer: " | 1519 | (read-buffer "Switch to EWW buffer: " |
| 1520 | (cl-loop for buf in (nreverse (buffer-list)) | 1520 | (cl-loop for buf in (nreverse (buffer-list)) |
| 1521 | if (with-current-buffer buf (derived-mode-p 'eww-mode)) | 1521 | if (with-current-buffer buf (derived-mode-p 'eww-mode)) |