* lisp/mail/smtpmail.el: Use lexical-binding and cl-generic
commitccedc6797e041af35f00f2fa8fb45bffea5c3797
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Jan 2018 16:56:43 +0000 (11 11:56 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Jan 2018 16:56:43 +0000 (11 11:56 -0500)
tree3392668f458065b763053c2b8a546d423e175225
parentfe15532eef5e7375fd2d91b92e173e5ed12534ef
* lisp/mail/smtpmail.el: Use lexical-binding and cl-generic

(smtpmail-auth-supported): Mark it as non-constant.
(smtpmail-try-auth-methods): Remove unused var 'ret'.
Test non-nullness of mech user and password before calling
smtpmail-try-auth-method.
(smtpmail-try-auth-method): Make it into a generic function.
(smtpmail-via-smtp): Remove unused var 'response-code'.
etc/NEWS
lisp/mail/smtpmail.el