]> git.eshelyaron.com Git - emacs.git/commit
Add erc-sasl-auth-source-function to cached options
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 04:56:04 +0000 (23:56 -0500)
commit35e2b8a26be06ac1e563801eeb2193c57fd1189d
treefa180ea6e783e816f54700b1153f50c0cb506fbd
parent7336520fe774f7f7f5209c884e04911514bae796
Add erc-sasl-auth-source-function to cached options

* lisp/erc/erc-sasl.el (erc-sasl--read-password): Consult cached
options instead of `erc-sasl-auth-source-function'.
(erc-sasl--init): Add `erc-sasl-auth-source-function' to
`erc-sasl--options'.

* test/lisp/erc/erc-sasl-tests.el (erc-sasl--read-password--basic,
erc-sasl--read-password--auth-source): Look for original value of
`erc-sasl-auth-source-function' in `erc-sasl--options' under the
`authfn' key.
lisp/erc/erc-sasl.el
test/lisp/erc/erc-sasl-tests.el