]> git.eshelyaron.com Git - emacs.git/commit
Simplify erc-sasl's auth-source API
authorF. Jason Park <jp@neverwas.me>
Thu, 24 Nov 2022 05:31:19 +0000 (21:31 -0800)
committerAmin Bandali <bandali@gnu.org>
Tue, 29 Nov 2022 05:01:13 +0000 (00:01 -0500)
commit00de296d1b4f629fd828cdeff588bb4f742d9ffe
tree7b791016be2034d15c749ab0206957a164cbc389
parent83b9496a193c41ed7e41b36838727e234c81a2d1
Simplify erc-sasl's auth-source API

* doc/misc/erc.texi: Revise descriptions in SASL chapter to reflect
simplified auth-source options.

* lisp/erc/erc-sasl.el (erc-sasl-password,
erc-sasl-auth-source-function): Revise doc strings.
(erc-sasl-auth-source-password-as-host): New function to serve as
more useful choice for option `erc-sasl-auth-source-function'.
(erc-sasl--read-password): Promote auth-source to pole position, above
an explicit string and `:password'.

* test/lisp/erc/erc-sasl-tests.el (erc-sasl--read-password--basic):
Massage tests to conform to simplified `erc-sasl-password'
API.  (Bug#29108.)
doc/misc/erc.texi
lisp/erc/erc-sasl.el
test/lisp/erc/erc-sasl-tests.el