Subject: 24.3.50; [PATCH] eww: Current URL is not entered automatically, after eww starts.

From: Kenjiro NAKAYAMA <[email-masked]>
Date: Sat, 16 Nov 2013 20:03:11 +0900

After the start of eww, if I try to jump to another URL (by M-x eww again), eww asks to enter the URL entirely again.
If eww enters the current URL automatically, it is very useful.
And if the current URL is not necessary, it is easy to delete the URL.

Signed-off-by: Kenjiro Nakayama <[email-masked]>
---
 lisp/net/eww.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 573715e..d835560 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -106,7 +106,7 @@
   "Fetch URL and render the page.
 If the input doesn't look like an URL or a domain name, the
 word(s) will be searched for via `eww-search-prefix'."
-  (interactive "sEnter URL or keywords: ")
+  (interactive (list (read-string "sEnter URL or keywords: " eww-current-url)))
   (if (and (= (length (split-string url)) 1)
            (> (length (split-string url "\\.")) 1))
       (progn
-- 
1.8.3.1