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).
This commit is contained in:
parent
b8a96f0556
commit
479623784e
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue