emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mpv ed83369372 39/50: Fix mpv-seek-to-position-at-point fo


From: ELPA Syncer
Subject: [nongnu] elpa/mpv ed83369372 39/50: Fix mpv-seek-to-position-at-point for start-of-playback position
Date: Tue, 28 Dec 2021 00:58:43 -0500 (EST)

branch: elpa/mpv
commit ed83369372ea3ba738ef17c06ef6d15b05f7095d
Author: Johann Klähn <johann@jklaehn.de>
Commit: Johann Klähn <johann@jklaehn.de>

    Fix mpv-seek-to-position-at-point for start-of-playback position
    
    Thanks to @snowman for reporting this in issue #8.
---
 mpv.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpv.el b/mpv.el
index a07887ef7f..b057443711 100644
--- a/mpv.el
+++ b/mpv.el
@@ -291,7 +291,7 @@ This can be used with the `org-open-at-point-functions' 
hook."
     (skip-chars-backward ":[:digit:]" (point-at-bol))
     (when (looking-at "[0-9]+:[0-9]\\{2\\}:[0-9]\\{2\\}")
       (let ((secs (org-timer-hms-to-secs (match-string 0))))
-        (when (> secs 0)
+        (when (>= secs 0)
           (mpv-seek secs))))))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]