]> git.eshelyaron.com Git - emacs.git/commit
Fix bugs in `auth-source-netrc-parse-one'.
authorFilipp Gunbin <fgunbin@fastmail.fm>
Tue, 15 May 2018 00:02:49 +0000 (03:02 +0300)
committerFilipp Gunbin <fgunbin@fastmail.fm>
Thu, 17 May 2018 15:44:31 +0000 (18:44 +0300)
commit60ff8101449eea3a5ca4961299501efd83d011bd
tree9947d1ac9503a65842975bb560a78265c41bc9a9
parent01120ec3d2eecd11e23f008feed020def7ea0e88
Fix bugs in `auth-source-netrc-parse-one'.

* lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match
  data is not overwritten in `auth-source-netrc-parse-next-interesting'.
  Ensure that blanks are skipped before and after going over comments
  and eols.
* test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test.
lisp/auth-source.el
test/lisp/auth-source-tests.el