aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/eww.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 3f1a1aeae3e..cb7390f4724 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -218,6 +218,7 @@ See also `eww-form-checkbox-selected-symbol'."
218(defvar eww-data nil) 218(defvar eww-data nil)
219(defvar eww-history nil) 219(defvar eww-history nil)
220(defvar eww-history-position 0) 220(defvar eww-history-position 0)
221(defvar eww-prompt-history nil)
221 222
222(defvar eww-local-regex "localhost" 223(defvar eww-local-regex "localhost"
223 "When this regex is found in the URL, it's not a keyword but an address.") 224 "When this regex is found in the URL, it's not a keyword but an address.")
@@ -250,7 +251,7 @@ word(s) will be searched for via `eww-search-prefix'."
250 (prompt (concat "Enter URL or keywords" 251 (prompt (concat "Enter URL or keywords"
251 (if uris (format " (default %s)" (car uris)) "") 252 (if uris (format " (default %s)" (car uris)) "")
252 ": "))) 253 ": ")))
253 (list (read-string prompt nil nil uris)))) 254 (list (read-string prompt nil 'eww-prompt-history uris))))
254 (setq url (eww--dwim-expand-url url)) 255 (setq url (eww--dwim-expand-url url))
255 (pop-to-buffer-same-window 256 (pop-to-buffer-same-window
256 (if (eq major-mode 'eww-mode) 257 (if (eq major-mode 'eww-mode)