[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs cdae42dba5 461/472: Replace too specific function
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs cdae42dba5 461/472: Replace too specific function with composition |
Date: |
Thu, 6 Jan 2022 21:59:49 -0500 (EST) |
branch: elpa/pacmacs
commit cdae42dba51cb3a3908f61f128f1286cc109e0ac
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Replace too specific function with composition
(#203)
---
pacmacs-render.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/pacmacs-render.el b/pacmacs-render.el
index 8d7b91bf6d..7c996a9b01 100644
--- a/pacmacs-render.el
+++ b/pacmacs-render.el
@@ -68,9 +68,6 @@
(pacmacs--render-anim anim))
(pacmacs--render-empty-cell)))
-(defun pacmacs--render-first-object-in-list (anim-objects)
- (pacmacs--render-object (car anim-objects)))
-
(defun pacmacs--render-track-cell (track-cell)
(insert "\t")
(if track-cell
@@ -93,7 +90,7 @@
(defun pacmacs--render-object-board (object-board)
(pacmacs--render-board object-board
- #'pacmacs--render-first-object-in-list)
+ (-compose #'pacmacs--render-object #'car))
(insert "\n"))
(provide 'pacmacs-render)
- [nongnu] elpa/pacmacs 71ffcfb208 419/472: Add UT for align-score-record-nickname func (#134), (continued)
- [nongnu] elpa/pacmacs 71ffcfb208 419/472: Add UT for align-score-record-nickname func (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 861aa9543e 422/472: Add UT for make-wall-cell func, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2e881d27e0 424/472: Remove commented chunk of code (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1e4cbd5f4f 426/472: Sort score table on reading and writing (#194), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0d62e0346a 427/472: Remove redundant score sorting (#194), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9b2c497eb9 431/472: Handle error during level list loading (#191), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2cf174ca7e 434/472: Create signs folder with game over sign (#191), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7d4356c92c 445/472: Implement pacmacs-score-awesome (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0f4eb7aebf 452/472: Decouple score page render from sign render (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a12795e835 455/472: Introduce pacmacs-scores-mode (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs cdae42dba5 461/472: Replace too specific function with composition,
ELPA Syncer <=
- [nongnu] elpa/pacmacs 864fe2b02e 465/472: Bump the copyright year for all the files, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs edadbe5e53 469/472: Bump version to 0.1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs db16fba9cd 470/472: Add missing license statement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 98ce700143 023/472: Hide cursor in the game's buffer. Close #12, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3070cf0e6a 063/472: Merge branch 'refactor-image-resource-51'. Close #51, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1a678dfee7 110/472: Refactor out pacmacs--object-at-p (#74), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5492ed0a87 118/472: Refactor pacmacs-render-state (#74), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b5078d2632 141/472: Move most of the rendering stuff to pacman-render, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a460cd8b06 148/472: Merge pull request #107 from rexim/feature/new-maps, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs c426f6ac91 078/472: Fix some accidental paredit typo, ELPA Syncer, 2022/01/06