|
From: | Juri Linkov |
Subject: | bug#62800: [PATCH] eww: Use completion in URL/keyword prompt. |
Date: | Wed, 12 Apr 2023 21:32:36 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> The attached patch adds completion support to the EWW URL prompt (M-x eww). > (interactive > (let ((uris (eww-suggested-uris))) > - (list (read-string (format-prompt "Enter URL or keywords" > - (and uris (car uris))) > - nil 'eww-prompt-history uris) > + (list (completing-read (format-prompt "Enter URL or keywords" > + (and uris (car uris))) > + eww-prompt-history nil nil nil > + 'eww-prompt-history uris) Emacs 29 has a new command 'minibuffer-complete-history' that completes on the history.
[Prev in Thread] | Current Thread | [Next in Thread] |