aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2014-12-01 17:09:01 +0100
committerLars Magne Ingebrigtsen2014-12-01 17:09:01 +0100
commit31410dcb09783b69f0e679ab90b7347dea028357 (patch)
treeec35ceff9b29de79d75048fc473e86149e708b5a
parentcb8ed25555d4eb610d55dc66c11b122031bcb759 (diff)
downloademacs-31410dcb09783b69f0e679ab90b7347dea028357.tar.gz
emacs-31410dcb09783b69f0e679ab90b7347dea028357.zip
Minor eww point placement fixup
* net/eww.el (eww): Leave point in a place that doesn't cause scrolling when displaying "Loading...".
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/eww.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0ec62db5010..b736b2d5617 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * net/eww.el (eww): Leave point in a place that doesn't cause
4 scrolling when displaying "Loading...".
5
12014-12-01 Eric S. Raymond <esr@snark.thyrsus.com> 62014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2 7
3 * vc/vc.el, vc-hooks.el, and all backends: API simplification; 8 * vc/vc.el, vc-hooks.el, and all backends: API simplification;
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 2059b5ea783..70427c16fdb 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -258,7 +258,8 @@ word(s) will be searched for via `eww-search-prefix'."
258 (plist-put eww-data :url url) 258 (plist-put eww-data :url url)
259 (eww-update-header-line-format) 259 (eww-update-header-line-format)
260 (let ((inhibit-read-only t)) 260 (let ((inhibit-read-only t))
261 (insert (format "Loading %s..." url)))) 261 (insert (format "Loading %s..." url))
262 (goto-char (point-min))))
262 (url-retrieve url 'eww-render 263 (url-retrieve url 'eww-render
263 (list url nil (current-buffer)))) 264 (list url nil (current-buffer))))
264 265