From c45587e2754679fb4a97713d44fa014af69bbab4 Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Fri, 1 Mar 2024 11:31:32 +0200 Subject: buffer(new-url-query): Review docstring. --- source/buffer.lisp | 10 ++-------- 1 file 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) -- cgit v1.2.3-70-g09d2