]> git.eshelyaron.com Git - emacs.git/commit
* lisp/net/socks.el: Use lexical-binding and process properties
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Apr 2018 02:25:09 +0000 (22:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Apr 2018 02:25:09 +0000 (22:25 -0400)
commitbca6c4348077c8c0b368503b16378867b6d49659
tree32e67fbbaf4dcc8b320b2ccd5ee787e92b384973
parentbf12cc6c7830937b4c1a3df46294e74bea749a5f
* lisp/net/socks.el: Use lexical-binding and process properties

Remove unneeded requires.  Better following commenting conventions.
(socks-connections): Remove (use process properties instead).
(socks-wait-for-state-change): Make it a function.
(open-network-stream): Use an advice when overriding.
(socks-send-command): Avoid string-make-unibyte.
(socks--open-network-stream): New function (extracted from
socks-open-network-stream).
(socks-open-network-stream): Rewrite using it.
lisp/net/socks.el