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

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

[nongnu] elpa/pacmacs 1978363e9d 310/472: Fix handle-ghost-blinking-thre


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 1978363e9d 310/472: Fix handle-ghost-blinking-threshold (#159)
Date: Thu, 6 Jan 2022 21:59:34 -0500 (EST)

branch: elpa/pacmacs
commit 1978363e9d74042416ecd5d760d6b789e1c176d8
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>

    Fix handle-ghost-blinking-threshold (#159)
    
    It should actually check the post timer decrease situation
---
 pacmacs.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index 310a6e579b..c969715207 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -161,10 +161,10 @@
           ;; FIXME: In Emacs 24.3 `<=` accepts only 2
           ;; arguments. Please rewrite this when Emacs 24.3 is finally
           ;; dropped.
-          (and (<= (- terrified-timer pacmacs-tick-duration-ms)
+          (and (<= terrified-timer
                    pacmacs--ghost-blinking-threshold-ms)
                (<= pacmacs--ghost-blinking-threshold-ms
-                   terrified-timer))
+                   (+ terrified-timer pacmacs-tick-duration-ms)))
         (plist-put terrified-ghost
                    :current-animation
                    (pacmacs-load-anim "Blinking-Terrified-Ghost"))))))



reply via email to

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