projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0fbd8
)
Allow the user more control of popping up the eww window
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 2 Feb 2016 04:57:07 +0000
(15:57 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 2 Feb 2016 04:57:07 +0000
(15:57 +1100)
* eww.el (eww): Use pop-to-buffer-same-window (suggested by
Michael Heerdegen) (bug#22244).
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index 128752a62ef6dfbfbc94161f1e0e18f5dc60bb5e..147ba5fcda79b31f42308d126eaa1cb8d89a313f 100644
(file)
--- 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*")))