Prevent notifications from firing more than once per message
authorDaiki Ueno <ueno@gnu.org>
Thu, 17 Apr 2014 02:35:19 +0000 (11:35 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 17 Apr 2014 02:58:18 +0000 (11:58 +0900)
commit7e599998827b6a7c291a648774e14686efad180d
treed30034ba18d1f4ae6212d285492d8d79f2950456
parent8523b406e2e9245d6cb10407b4c50d928bd08542
Prevent notifications from firing more than once per message

* riece-desktop-notify.el
(riece-desktop-notify-keyword-notify-function): Don't send
notification multiple times for a single message; don't wait until
the 'notify-send' program completes.
(riece-desktop-notify-last-message): New variable.
Suggested by Steve Youngs.
lisp/riece-desktop-notify.el