]> git.eshelyaron.com Git - emacs.git/commit
Fix erc-lurker-update-status (bug#36843)
authorAmin Bandali <bandali@gnu.org>
Sat, 17 Aug 2019 18:09:11 +0000 (14:09 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 5 Sep 2019 23:56:14 +0000 (19:56 -0400)
commitff0f4c731231b03d73cc35de9e042d1fc1b75f4e
tree76f2e82e4e93cb5249afd12852203fae82827772
parent16ab25f136c4eef27743dfa50953692d115f162c
Fix erc-lurker-update-status (bug#36843)

Broken since 2013-08-22 "* lisp/erc/erc.el: Use lexical-binding".

* lisp/erc/erc.el (erc-message-parsed): New variable.
(erc-display-message): Dynamically bind it.
(erc-lurker-update-status): Check it instead of using `parsed'
directly.  This results in `erc-lurker-state' being properly updated
to keep track of non-lurkers, and thus `erc-lurker-p' returning
correct results rather than return t for everyone.
lisp/erc/erc.el