* [PATCH] Fix Mac OS search to not look for "nil" ports
@ 2016-04-21 11:04 Martin Jesper Low Madsen
2016-04-21 11:17 ` Martin Jesper Low Madsen
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jesper Low Madsen @ 2016-04-21 11:04 UTC (permalink / raw)
To: ding
* lisp/auth-source.el (auth-source-macos-keychain-search): Don't turn a
nil port/protocol into a string
---
lisp/auth-source.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index cfd21a5..4211fdf 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1735,7 +1735,7 @@ entries for git.gnus.org:
(items (catch 'match
(dolist (host hosts)
(dolist (port ports)
- (let* ((port (format "%S" port))
+ (let* ((port (and port (format "%S" port)))
(items (apply #'auth-source-macos-keychain-search-items
coll
type
--
2.3.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix Mac OS search to not look for "nil" ports
2016-04-21 11:04 [PATCH] Fix Mac OS search to not look for "nil" ports Martin Jesper Low Madsen
@ 2016-04-21 11:17 ` Martin Jesper Low Madsen
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jesper Low Madsen @ 2016-04-21 11:17 UTC (permalink / raw)
To: ding
I wasn't sure if this patch belonged here now that Gnus is now
officially a part of Emacs. I hope this was the right decision.
--
Best regards,
Martin Jesper Low Madsen
» martinjlowm.dk
» martin@martinjlowm.dk
» +45 2068 5551
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-21 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 11:04 [PATCH] Fix Mac OS search to not look for "nil" ports Martin Jesper Low Madsen
2016-04-21 11:17 ` Martin Jesper Low Madsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).