]> git.eshelyaron.com Git - emacs.git/commit
Fix auth-source-pass to return nil if no entry found
authorMagnus Henoch <magnus.henoch@gmail.com>
Fri, 2 Nov 2018 21:51:59 +0000 (21:51 +0000)
committerDamien Cassou <damien@cassou.me>
Mon, 24 Jun 2019 07:15:39 +0000 (09:15 +0200)
commit527efaf798ad73878f6df03f5af9d9b0ba517b9d
tree7739ede9d206290bab1cb19c448634aecfe71175
parentb9ac4f815ebaa1acb0d045fe9583f665efa6f628
Fix auth-source-pass to return nil if no entry found

* lisp/auth-source-pass.el (auth-source-pass-search): If there is no
matching entry, auth-source-pass-search should return nil, not (nil).
This lets auth-source fall back to other backends in the auth-sources
list.
* test/lisp/auth-source-pass-tests.el: Add corresponding test.

Copyright-paperwork-exempt: yes
lisp/auth-source-pass.el
test/lisp/auth-source-pass-tests.el