summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre A. Gomes <andremegafone@gmail.com>2024-03-01 11:31:32 +0200
committerAndre A. Gomes <andremegafone@gmail.com>2024-03-04 11:25:05 +0200
commitc45587e2754679fb4a97713d44fa014af69bbab4 (patch)
tree7a754ccc3429d729f4126a11cfc46ab080f75cd7
parent377e9ab717034301dda53265d6cbf99244b70e31 (diff)
buffer(new-url-query): Review docstring.
-rw-r--r--source/buffer.lisp10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/buffer.lisp b/source/buffer.lisp
index 3177ce278..2a23f7a4d 100644
--- a/source/buffer.lisp
+++ b/source/buffer.lisp
@@ -1715,14 +1715,8 @@ Loads the entry with default `prompter:actions-on-return'."))
:documentation "See `search-engine'."))
(:export-class-name-p t)
(:export-accessor-names-p t)
- (:documentation "Structure holding the new URL query generated from a user
-string input.
-
-If `engine' is set, `query' is passed to it (see the `url' method).
-If `query' is a valid URL, use it as is.
-If it points to an existing file, 'file://' is prepended to it.
-If prefixing with 'https://' results in a valid URL, set `query' to it.
-Otherwise, set `engine' to `default-search-engine'."))
+ (:documentation "Structure that processes a new URL query from user input.
+Checks whether a valid https or local file URL is requested, in a DWIM fashion."))
(defmethod initialize-instance :after ((query new-url-query)
&key check-dns-p &allow-other-keys)