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

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

[nongnu] elpa/pacmacs 4396ec7412 315/472: Fix FIXME in handle-ghost-blin


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 4396ec7412 315/472: Fix FIXME in handle-ghost-blinking-threshold
Date: Thu, 6 Jan 2022 21:59:35 -0500 (EST)

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

    Fix FIXME in handle-ghost-blinking-threshold
    
    Related to #165
    
    Since we drop Emacs 24.3 support we don't need such things anymore
---
 pacmacs.el | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index c969715207..ff6eb69b4b 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -157,14 +157,9 @@
   (dolist (terrified-ghost pacmacs--terrified-ghosts)
     (plist-bind ((terrified-timer :terrified-timer))
         terrified-ghost
-      (when
-          ;; FIXME: In Emacs 24.3 `<=` accepts only 2
-          ;; arguments. Please rewrite this when Emacs 24.3 is finally
-          ;; dropped.
-          (and (<= terrified-timer
-                   pacmacs--ghost-blinking-threshold-ms)
-               (<= pacmacs--ghost-blinking-threshold-ms
-                   (+ terrified-timer pacmacs-tick-duration-ms)))
+      (when (<= terrified-timer
+                pacmacs--ghost-blinking-threshold-ms
+                (+ 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]