summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre A. Gomes <andremegafone@gmail.com>2024-02-19 18:13:42 +0200
committerAndre A. Gomes <andremegafone@gmail.com>2024-02-20 14:00:24 +0200
commit11e1bc8b44a69b398a50375bd95b2fcc13a6db47 (patch)
treec09763b4ba50fe7014eee570fddbe485ebf38d02
parent88e8b59efb20ac39e3525a108e3d5799bfd167db (diff)
buffer(new-url-or-search-source): Review documentation.
-rw-r--r--source/buffer.lisp17
1 files changed, 3 insertions, 14 deletions
diff --git a/source/buffer.lisp b/source/buffer.lisp
index 62a70a892..b5423896f 100644
--- a/source/buffer.lisp
+++ b/source/buffer.lisp
@@ -1848,20 +1848,9 @@ Otherwise, set `engine' to `default-search-engine'."))
(prompter:filter nil)
(prompter:actions-on-return #'buffer-load*))
(:export-class-name-p t)
- (:documentation "This prompter source tries to \"do the right thing\" to
-generate a new URL query from user input.
-- If the query is a URL, open it directly.
-- If it's a file, prefix the query with 'file://'.
-- If it's a search engine shortcut, include it in the suggestions.
-- If it's none of the above, use the `default-search-engine'.
-
-It runs in two passes. The first pass does not check the DNS for domain
-validity, nor does it return any search engine suggestions. This guarantees
-that a good-enough default suggestion is showed instantaneously.
-(We really want this prompter source to be fast!) The second pass checks the
-DNS to precisely validate domains and returns the search engines suggestions, if
-any.")
- (:metaclass user-class))
+ (:metaclass user-class)
+ (:documentation "Source listing URL queries from user input in a DWIM fashion. See
+`new-url-query'."))
(defmethod prompter:object-attributes ((query new-url-query) (source new-url-or-search-source))
(declare (ignore source))