]> git.eshelyaron.com Git - emacs.git/commit
Fix erc-notifications-notify for non-PRIVMSGs, broken in last commit
authorAmin Bandali <mab@gnu.org>
Sat, 18 Jan 2020 04:38:04 +0000 (23:38 -0500)
committerAmin Bandali <mab@gnu.org>
Sat, 18 Jan 2020 04:56:00 +0000 (23:56 -0500)
commit74b151195d8c548092bcc00ad1bf267570d9b9ac
treef04d8ece5b60265f7c0d1ca2c298edfe8a894758
parentdb4436eaf97718a1d24117ee082361c0cb854b8b
Fix erc-notifications-notify for non-PRIVMSGs, broken in last commit

* lisp/erc/erc-desktop-notifications.el (erc-notifications-notify):
Take optional argument `privp', to be non-nil when notifying for a
PRIVMSG.  This is to work around bug introduced in last commit, as
`erc-get-buffer' may return nil for non-PRIVMSG cases.
(erc-notifications-PRIVMSG): Call erc-notifications-notify with
non-nil `privp', as described above.
lisp/erc/erc-desktop-notifications.el