[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs e44bade6bf 087/472: Fix lambda expressions (#68)
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs e44bade6bf 087/472: Fix lambda expressions (#68) |
Date: |
Thu, 6 Jan 2022 21:59:15 -0500 (EST) |
branch: elpa/pacmacs
commit e44bade6bf5095fcf1622726936dc84d3fe5c961
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Fix lambda expressions (#68)
---
pacmacs-anim.el | 4 ++--
pacmacs.el | 22 +++++++++++-----------
test/pacman-anim-test.el | 4 ++--
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/pacmacs-anim.el b/pacmacs-anim.el
index 6704119354..ac4fc718b8 100644
--- a/pacmacs-anim.el
+++ b/pacmacs-anim.el
@@ -73,8 +73,8 @@
(defun pacmacs-convert-aseprite-frame (aseprite-frame)
(let* ((frame (cdr (assoc 'frame (cdr aseprite-frame))))
(duration (cdr (assoc 'duration (cdr aseprite-frame)))))
- (pacmacs-make-frame (mapcar (lambda (n)
- (cdr (assoc n frame)))
+ (pacmacs-make-frame (mapcar #'(lambda (n)
+ (cdr (assoc n frame)))
'(x y w h))
duration)))
diff --git a/pacmacs.el b/pacmacs.el
index 00878a9740..c75260922f 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -154,11 +154,11 @@
(defun pacmacs--object-at-p (row column objects)
(member (cons row column)
- (mapcar (lambda (object)
- (plist-bind ((row :row)
- (column :column))
- object
- (cons row column)))
+ (mapcar #'(lambda (object)
+ (plist-bind ((row :row)
+ (column :column))
+ object
+ (cons row column)))
objects)))
(defun pacmacs--wall-at-p (row column)
@@ -284,12 +284,12 @@
(when pill
(setq pacmacs-score (+ pacmacs-score 10))
(setq pacmacs-pills
- (remove-if (lambda (pill)
- (plist-bind ((p-row :row)
- (p-column :column))
- pill
- (and (= row p-row)
- (= column p-column))))
+ (remove-if #'(lambda (pill)
+ (plist-bind ((p-row :row)
+ (p-column :column))
+ pill
+ (and (= row p-row)
+ (= column p-column))))
pacmacs-pills)))))
(pacmacs--recalc-track-board)
diff --git a/test/pacman-anim-test.el b/test/pacman-anim-test.el
index c26629cdf6..a55ffe85df 100644
--- a/test/pacman-anim-test.el
+++ b/test/pacman-anim-test.el
@@ -11,8 +11,8 @@
(should (equal 3 (pacmacs-anim-get-frame anim)))))
(ert-deftest pacmacs-anim-next-frame-test ()
- (let ((anim (list :frames (mapcar (lambda (x)
- (pacmacs-make-frame (+ 41 x) 100))
+ (let ((anim (list :frames (mapcar #'(lambda (x)
+ (pacmacs-make-frame (+ 41 x) 100))
(number-sequence 1 4))
:current-frame 2
:duration-counter 0)))
- [nongnu] elpa/pacmacs 2331e2074c 262/472: Automate Pill sprites generating (#26), (continued)
- [nongnu] elpa/pacmacs 2331e2074c 262/472: Automate Pill sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d980f5dbe2 454/472: Introduce with-render-target macro (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d813e9c62c 466/472: Merge pull request #214 from codingteam/qfix/bump-copyright-year, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b6c02d6f38 264/472: Automate Pacman Death sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 80f25498d6 270/472: Add initial UT for pacmacs--create-wall-tile, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ad201e341a 271/472: Add UT for pacmacs--bits-to-xpm, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ea74310be3 275/472: Add README for sprites. Close #148, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 80f16102c5 291/472: Implement unterrifying timed out ghosts (#153), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 609416d41a 057/472: Fix delete minibuffer or sole ordinary window error. Close #42, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 43cc1205c6 066/472: Try to fix pacman-image UTs after #52, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e44bade6bf 087/472: Fix lambda expressions (#68),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 2dac90bc61 092/472: Merge branch 'entire-code-coverage-70'. Close #70, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2fdeb1dbdf 188/472: Try to remove compilation step (#124), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a8bbb61bf8 189/472: Try to remove elcs after the compilation (#124), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7729f08230 196/472: Rename render-board to object-board (#126), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs cede2ffb48 202/472: Optimize object look up (#126):, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9e29a7aa19 207/472: Add information about cask install., ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs c6ddeab3f2 215/472: Roughly implement it replayer (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 17a82dffec 205/472: Add UT for object-type-at-p, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ce03d91967 227/472: Introduce xbm flip bit hack (#133), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b0bc866a7b 218/472: Measure tick time during replay (#122), ELPA Syncer, 2022/01/06