]> git.eshelyaron.com Git - emacs.git/commit
Force erc-speedbar to update on insertion
authorF. Jason Park <jp@neverwas.me>
Tue, 16 Jan 2024 18:42:21 +0000 (10:42 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jan 2024 18:05:04 +0000 (19:05 +0100)
commit55bb4ec461bba30f244b45bbb64295e8fde499b0
treee1c7804bba36005fbbf9a48a2256cef36cbd99aa
parent14a103d3523ca635fcb31cff3ff2401beda4a193
Force erc-speedbar to update on insertion

* lisp/erc/erc-speedbar.el (erc-speedbar--force-update-interval-secs,
erc-speedbar--last-ran): New variables.
(erc-speedbar--reset-last-ran-on-timer,
erc-speedbar--run-timer-on-post-insert): New functions.
(erc-nickbar-mode, erc-nickbar-enable, erc-nickbar-disable): Use
`erc-insert-post-hook' and `speedbar-timer-hook' to update the
speedbar periodically.  (Bug#63595)

(cherry picked from commit aae131b8dd9ab3c3ceb23079796005873e107bee)
lisp/erc/erc-speedbar.el