]> git.eshelyaron.com Git - emacs.git/commit
Fix the notification action for PRIVMSG in erc-notifications-notify
authorAmin Bandali <mab@gnu.org>
Sat, 18 Jan 2020 03:33:03 +0000 (22:33 -0500)
committerAmin Bandali <mab@gnu.org>
Sat, 18 Jan 2020 03:44:49 +0000 (22:44 -0500)
commitdb4436eaf97718a1d24117ee082361c0cb854b8b
tree84192c1b9530f69651a9ab5f307b02dc6d119652
parent36a40681052738ecdc569ffac4950511a39f4da6
Fix the notification action for PRIVMSG in erc-notifications-notify

* lisp/erc/erc-desktop-notifications.el (erc-notifications-notify):
explicitly request the buffer for `nick', rather than relying on
(current-buffer) returning it.  That works fine for the very first
PRIVMSG sent by `nick', but ERC seems to handle subsequent PRIVMSGs
differently, where (current-buffer) would return the server buffer
rather than the existing buffer for PRIVMSGs from `nick'.
lisp/erc/erc-desktop-notifications.el