branch: elpa/pacmacs
commit 1978363e9d74042416ecd5d760d6b789e1c176d8
Author: rexim <[email protected]>
Commit: rexim <[email protected]>
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"))))))