bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15910: 24.3.50; [PATCH] eww: Current URL is not entered automaticall


From: Kenjiro NAKAYAMA
Subject: bug#15910: 24.3.50; [PATCH] eww: Current URL is not entered automatically, after eww starts.
Date: Sat, 16 Nov 2013 20:03:11 +0900
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2

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 <address@hidden>
---
 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





reply via email to

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