emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 51362d6: Allow the user more control of popping u


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 51362d6: Allow the user more control of popping up the eww window
Date: Tue, 02 Feb 2016 04:57:18 +0000

branch: emacs-25
commit 51362d68d14af92799c65198a690f769b04d456d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Allow the user more control of popping up the eww window
    
    * eww.el (eww): Use pop-to-buffer-same-window (suggested by
    Michael Heerdegen) (bug#22244).
---
 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 128752a..147ba5f 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -274,7 +274,7 @@ word(s) will be searched for via `eww-search-prefix'."
                  (setq url (concat url "/"))))
            (setq url (concat eww-search-prefix
                              (replace-regexp-in-string " " "+" url))))))
-  (switch-to-buffer
+  (pop-to-buffer-same-window
    (if (eq major-mode 'eww-mode)
        (current-buffer)
      (get-buffer-create "*eww*")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]