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

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

[nongnu] elpa/pacmacs 8aa9d50dda 102/472: Remove pacmacs--within-of-map-


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 8aa9d50dda 102/472: Remove pacmacs--within-of-map-p (#75)
Date: Thu, 6 Jan 2022 21:59:16 -0500 (EST)

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

    Remove pacmacs--within-of-map-p (#75)
    
    It became not needed after resolving #73
---
 pacmacs.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index c0a4b2b4a1..2cfc65dc51 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -172,10 +172,6 @@
   (aref (aref pacmacs-track-board (mod row pacmacs-board-height))
         (mod column pacmacs-board-width)))
 
-(defun pacmacs--within-of-map-p (row column)
-  (and (<= 0 row (1- pacmacs-board-height))
-       (<= 0 column (1- pacmacs-board-width))))
-
 (defun pacmacs--switch-direction (game-object direction)
   (plist-bind ((direction-animations :direction-animations))
       game-object



reply via email to

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