From 194a8f5c1406dd7e762376bdfde78d1b7d01b6b1 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 26 Oct 2023 23:58:05 +0200 Subject: [PATCH] Fix `browse-url-default-scheme` custom :type * lisp/net/browse-url.el (browse-url-default-scheme): Fix custom :type. --- lisp/net/browse-url.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 7cbc8e569a5..df3f538a354 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -680,7 +680,9 @@ For example, when point is on an URL fragment like Note that if you set this to \"https\", websites that do not yet support HTTPS may not load correctly in your web browser. Such websites are increasingly rare, but they do still exist." - :type 'string + :type '(choice (const :tag "HTTP" "http") + (const :tag "HTTPS" "https") + (string :tag "Something else" "https")) :version "29.1") (defun browse-url-url-at-point () -- 2.39.2