ahyatt/emacs-websocket — pull request #10 by tkf (2012-05-19 17:37:11+00:00)
Title: Get rid of lexical-let

Emacs process object has a plist to hold miscellaneous values.
The `websocket` object is now stored in this plist so that it
can be retrieved from the first `process` argument of the filter
and sentinel callback functions.

See also:
http://www.gnu.org/software/emacs/manual/html_node/elisp/Process-Information.html

I think using lexical-let is OK when there is no alternative, but this time we have. As lexical-let implementation is somewhat hacky, I think it's better to get rid of this if possible.