diff options
author | Damien Cassou <damien@cassou.me> | 2017-11-09 10:40:19 +0100 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2018-06-05 15:51:14 +0200 |
commit | b43ed61ef985e01975b90d7e0ec3cac70d0afefa (patch) | |
tree | bc4414f8595bc6ddee73cb4822062fb34b8a9cef /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | a52661b58bc9cffa13cb5f0749cdb3a4c24fbf74 (diff) | |
download | emacs-b43ed61ef985e01975b90d7e0ec3cac70d0afefa.tar.gz emacs-b43ed61ef985e01975b90d7e0ec3cac70d0afefa.tar.bz2 emacs-b43ed61ef985e01975b90d7e0ec3cac70d0afefa.zip |
auth-source-pass: Take care of matching hosts when port is provided
* lisp/auth-source-pass.el (auth-source-pass--find-match): Add PORT
parameter and reorganize code by extracting `find-match-unambiguous'.
(auth-source-pass--find-match-unambiguous): New function.
(auth-source-pass--build-result): Fix the call to `find-match'.
(auth-source-pass--hostname, auth-source-pass--hostname-with-user,
auth-source-pass--user): Remove functions.
* test/lisp/auth-source-pass-tests.el: Fix the calls to `find-match'.
(auth-source-pass-find-host-without-port) Add corresponding test.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions