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

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

[nongnu] elpa/pacmacs 402d176003 339/472: Remove unused functions (#171)


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 402d176003 339/472: Remove unused functions (#171)
Date: Thu, 6 Jan 2022 21:59:37 -0500 (EST)

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

    Remove unused functions (#171)
    
    - create-game-object
    - create-terrified-ghost
    - create-ghost
---
 pacmacs.el | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index d8870b3fa9..34327c80b2 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -417,19 +417,6 @@
     (pacmacs--track-object-from-player terrified-ghost)
     (pacmacs--step-object terrified-ghost)))
 
-(defun pacmacs--create-game-object (row column list-name constructor)
-  (let ((game-object (funcall constructor row column)))
-    (add-to-list list-name game-object)
-    (pacmacs--put-object game-object)))
-
-(defun pacmacs--create-terrified-ghost (row column)
-  (pacmacs--create-game-object row column 'pacmacs--terrified-ghosts
-                               #'pacmacs--make-terrified-ghost))
-
-(defun pacmacs--create-ghost (row column)
-  (pacmacs--create-game-object row column 'pacmacs--ghosts
-                               #'pacmacs--make-ghost))
-
 (defun pacmacs--terrified-ghost-timed-out-p (terrified-ghost)
   (<= (plist-get terrified-ghost :terrified-timer) 0))
 



reply via email to

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