emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 479623784e: Fix auth-sources defcustom


From: Lars Ingebrigtsen
Subject: master 479623784e: Fix auth-sources defcustom
Date: Wed, 23 Feb 2022 15:05:47 -0500 (EST)

branch: master
commit 479623784eae84974d0cd1c20c3d9f5584f8cf16
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix auth-sources defcustom
    
    * lisp/auth-source.el (auth-sources): The extra attributes should be
    in a plist, so inline both :host and :port.  Also, give a valid
    default value for the choice (bug#54127).
---
 lisp/auth-source.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 8a425cf9bc..cb528cebdc 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -280,15 +280,16 @@ can get pretty complex."
                                          (const :tag "default" default))))
                         (repeat :tag "Extra Parameters" :inline t
                                 (choice :tag "Extra parameter"
+                                        :value (:host t)
                                         (list
-                                         :tag "Host"
+                                         :tag "Host" :inline t
                                          (const :format "" :value :host)
                                          (choice :tag "Host (machine) choice"
                                                  (const :tag "Any" t)
                                                  (regexp
                                                   :tag "Regular expression")))
                                         (list
-                                         :tag "Protocol"
+                                         :tag "Protocol" :inline t
                                          (const :format "" :value :port)
                                          (choice
                                           :tag "Protocol"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]