diff options
| author | Jun Hao | 2016-04-25 18:02:08 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2016-04-25 18:03:55 +0200 |
| commit | ff9de7b38a3a316529c73e36645182055e2addc4 (patch) | |
| tree | 46c3296e30db92ad6899d3064247e799d3a804e0 | |
| parent | fda715c6cb576502c987e599964b715687b05b15 (diff) | |
| download | emacs-ff9de7b38a3a316529c73e36645182055e2addc4.tar.gz emacs-ff9de7b38a3a316529c73e36645182055e2addc4.zip | |
Pass in port only if provided by caller in the OS X keychain
* lisp/auth-source.el (auth-source-macos-keychain-search): Pass in
port only if provided (bug#23374).
| -rw-r--r-- | lisp/auth-source.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el index d691b54d67e..fe28a02c200 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el | |||
| @@ -1735,7 +1735,7 @@ entries for git.gnus.org: | |||
| 1735 | (items (catch 'match | 1735 | (items (catch 'match |
| 1736 | (dolist (host hosts) | 1736 | (dolist (host hosts) |
| 1737 | (dolist (port ports) | 1737 | (dolist (port ports) |
| 1738 | (let* ((port (format "%S" port)) | 1738 | (let* ((port (if port (format "%S" port))) |
| 1739 | (items (apply #'auth-source-macos-keychain-search-items | 1739 | (items (apply #'auth-source-macos-keychain-search-items |
| 1740 | coll | 1740 | coll |
| 1741 | type | 1741 | type |