emacs-31 afc5fc709b7: browse-url-with-browser-kind: Use strings for DEF

Sean Whitton <[email protected]> Tue, 14 Jul 2026 07:05:37 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit afc5fc709b7b3426dce57f265d23b4b2641bdf57
Author: Mark Hindley <[email protected]>
Commit: Sean Whitton <[email protected]>

    browse-url-with-browser-kind: Use strings for DEF
    
    * lisp/net/browse-url.el (browse-url-with-browser-kind): Use
    strings for DEF argument to completing-read (bug#81369).
    
    Copyright-paperwork-exempt: yes
---
 lisp/net/browse-url.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index b75c4f119a0..6700211cda3 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -988,8 +988,8 @@ opposite of the browser kind of `browse-url-browser-function'."
           (default (if (eq (browse-url--browser-kind
                             browse-url-browser-function (car url-arg))
                            'internal)
-                       'external
-                     'internal))
+                       "external"
+                     "internal"))
           (k (intern (completing-read
                       (format-prompt "Browser kind" default)
                       '(internal external)