[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emms-patches] EMMS Lyrics
From: |
Ian D |
Subject: |
[Emms-patches] EMMS Lyrics |
Date: |
Fri, 09 Aug 2013 13:11:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
EMMS Developers,
I noticed that EMMS will start redisplaying lyrics when it is
paused. I looked into it, and noticed that the `timer-duration'
function will remove any negative numbers, so in
`emms-lyrics-set-timer', when the variable `time' is set, and is
negative, when `run-at-time' is called, `timer-duration' changes it
to a positive value, causing old lyrics to be displayed again.
Setting a check for a positive value fixes this. The patch is
attached.
Ian D
emms-lyrics.el.diff
Description: Text Data
- [Emms-patches] EMMS Lyrics,
Ian D <=