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