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

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

[nongnu] elpa/pacmacs 2c0bcf993f 107/472: Use two-argumented `<=`. Close


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 2c0bcf993f 107/472: Use two-argumented `<=`. Close #76
Date: Thu, 6 Jan 2022 21:59:17 -0500 (EST)

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

    Use two-argumented `<=`. Close #76
    
    Because Emacs 24.3 doesn't support multiple-argumented one and we still
    support Emacs 24.3.
---
 pacmacs.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index e07687df1d..3d21f5447e 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -313,8 +313,8 @@
   (plist-bind ((row :row)
                (column :column))
       anim-object
-    (when (and (<= 0 row (1- pacmacs-board-height))
-               (<= 0 column (1- pacmacs-board-width)))
+    (when (and (<= 0 row) (<= row (1- pacmacs-board-height))
+               (<= 0 column) (<= column (1- pacmacs-board-width)))
       (aset (aref pacmacs-board row) column anim-object))))
 
 (defun pacmacs-render-track-board ()



reply via email to

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