diff options
author | JSDurand <mmemmew@gmail.com> | 2022-11-17 12:50:07 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-11-17 12:50:07 +0800 |
commit | 983bf3a1725ed7eb8df6973ca1393e75d3eb68e4 (patch) | |
tree | 5612e9374568f84ba1bf39c55a548a3c638f4442 /COPYING | |
parent | 7edf313d2c8892818fc64dc125b30f967bb565ce (diff) |
bongo: Add cache
* common.el (durand-take): Declare as pure and side-effect free.
* durand-bongo.el (bongo-sub-redisplay): Do nothing when not playing,
to avoid clearing the subtitles buffer when stopped.
(durand-bongo-time-process): A helper to replace nil values by 0 in
the return value of `parse-time-string'.
(bongo-sub-status-string): Use a cache to avoid searching for the
subtitle every second.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions