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

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

[nongnu] elpa/subed a084f5d 326/389: Improve comment


From: ELPA Syncer
Subject: [nongnu] elpa/subed a084f5d 326/389: Improve comment
Date: Fri, 3 Dec 2021 11:00:51 -0500 (EST)

branch: elpa/subed
commit a084f5d1a4d3444ce2a63cb1b05c2a77416fa092
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>

    Improve comment
---
 subed/subed-common.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/subed/subed-common.el b/subed/subed-common.el
index 9910176..0e63686 100644
--- a/subed/subed-common.el
+++ b/subed/subed-common.el
@@ -674,10 +674,11 @@ If QUIET is non-nil, do not display a message in the 
minibuffer."
              (subed-jump-to-subtitle-text-at-msecs msecs))
     (subed-debug "Synchronized point to playback position: %s -> #%s"
                  (subed-msecs-to-timestamp msecs) (subed-subtitle-id))
-    ;; post-command-hook is not triggered because we didn't move interactively.
-    ;; But there's not really a difference, e.g. the minor mode `hl-line' 
breaks
-    ;; unless we call its post-command function, so we do it manually.
-    ;; It's also important NOT to call our own post-command function because
+    ;; post-command-hook is not triggered because we didn't move interactively,
+    ;; but there shouldn't be a difference between automatic movement and 
manual
+    ;; movement.  E.g. the minor mode `hl-line' breaks because its post-command
+    ;; function is not called.
+    ;; But it's also important NOT to call our own post-command function 
because
     ;; that causes player-to-point syncing, which would get hairy.
     (remove-hook 'post-command-hook #'subed--post-command-handler)
     (run-hooks 'post-command-hook)



reply via email to

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