]> git.eshelyaron.com Git - emacs.git/commit
* lisp/erc/erc-stamp.el: Fix erc-echo-timestamp (bug#22700)
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Aug 2019 09:44:43 +0000 (05:44 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Aug 2019 09:44:43 +0000 (05:44 -0400)
commit50dc4ca8d02a466a7236765edf83ae7cfb02d74c
tree1e6953b3691f0f4eb97535f7a59a7e91c4930cb1
parent1b96e022b624d676d1457ff135000489c1a626f1
* lisp/erc/erc-stamp.el: Fix erc-echo-timestamp (bug#22700)

Use lexical-binding.
(erc-add-timestamp): Store the timestamp in a closure placed in
cursor-sensor-functions rather than stashing it in an ad-hoc
`timestamp` property.
(erc-echo-timestamp): Simplify accordingly.
lisp/erc/erc-stamp.el