[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs ba28d344be 068/472: Remove copypaste (#54)
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs ba28d344be 068/472: Remove copypaste (#54) |
Date: |
Thu, 6 Jan 2022 21:59:13 -0500 (EST) |
branch: elpa/pacmacs
commit ba28d344be499e8bc48120551990a6960230510a
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Remove copypaste (#54)
cc @codingteam
Since @j123123 doesn't do anything useful and only yells stuff at the
comments
(https://github.com/rexim/pacman.el/commit/95cce606fd2661e762abfe45fc58a577862aa8ef),
I have to do this by myself.
---
pacman-anim.el | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/pacman-anim.el b/pacman-anim.el
index 2664380ccc..57f7fb5cb4 100644
--- a/pacman-anim.el
+++ b/pacman-anim.el
@@ -64,12 +64,10 @@
(< order1 order2)))
(defun pacman-convert-aseprite-frame (aseprite-frame)
- (let* ((frame (cdr (assoc 'frame (cdr aseprite-frame))))
- (x (cdr (assoc 'x frame)))
- (y (cdr (assoc 'y frame)))
- (w (cdr (assoc 'w frame)))
- (h (cdr (assoc 'h frame))))
- (list x y w h)))
+ (let* ((frame (cdr (assoc 'frame (cdr aseprite-frame)))))
+ (mapcar (lambda (n)
+ (cdr (assoc n frame)))
+ '(x y w h))))
(defun pacman-anim-get-frame (anim)
(let ((frames (plist-get anim :frames))
- [nongnu] elpa/pacmacs f84acb56ad 201/472: Double dash load-map function (#126), (continued)
- [nongnu] elpa/pacmacs f84acb56ad 201/472: Double dash load-map function (#126), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e13b23bc34 206/472: Remove object-at-p predicate, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0c0f6c141c 210/472: Merge branch 'master' into integration-test-recorder-115, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e64420ace4 209/472: Fix meta for Red-Ghost-Win animation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bfb089d1de 213/472: Exctract init code to a function (#115), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 09c0a15f40 217/472: Get pacmacs--object-at-p back (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs daca08b8b1 219/472: Add another it case (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ed46a4b500 221/472: Add big pills sprites. Close #82, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ca32745bcb 224/472: Refactor char making duplicate code (#81), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5f7b4fcb12 235/472: Rename pacmacs--put-dot function (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ba28d344be 068/472: Remove copypaste (#54),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 49e0ff0fe8 020/472: Cask: take package info from pacman.el file, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7a8db8e06c 228/472: Merge branch 'xbm-flip-bit-hack-133'. Close #133, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f65f288b18 239/472: Cache wall tiles (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs edf7600fca 237/472: Add functions for drawing bars (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2a9ec76c28 263/472: Automate Big Pills sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a1bf99c5f7 176/472: Add an animation, close #118., ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 29b87c4538 181/472: Refactor out unpaused play state predicate, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 93f964e11e 186/472: Merge branch 'compile-on-ci-123'. Close #123, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3f7bf5c282 192/472: Fix board UTs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 805d91d22b 194/472: Rename all the buffer stuff to board back (#105), ELPA Syncer, 2022/01/06