[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/j-mode 0332b64 22/56: Replacing mapcan with equivalent fun
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/j-mode 0332b64 22/56: Replacing mapcan with equivalent function which exists by default (credit to @locklin for the new form) |
Date: |
Sun, 29 Aug 2021 11:20:47 -0400 (EDT) |
branch: elpa/j-mode
commit 0332b64032b3a5fd7142033af21da74a6cd1629f
Author: Zachary Elliott <zach@nyu.edu>
Commit: Zachary Elliott <zach@nyu.edu>
Replacing mapcan with equivalent function which exists by default (credit
to @locklin for the new form)
---
j-font-lock.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/j-font-lock.el b/j-font-lock.el
index f5d88f2..55e550f 100644
--- a/j-font-lock.el
+++ b/j-font-lock.el
@@ -62,12 +62,12 @@
(BUILD-FACES (FACE-NAME FACE-RULES DOCS-STR &optional GROUP) ...)"
`(eval-when-compile
- ,@(mapcan (lambda ( x )
- (let* ((name (car x))
- (body (cdr x)))
- `((defvar ,name ',name)
- (defface ,name ,@body))))
- faces)))
+ ,@(apply 'nconc (mapcar (lambda ( x )
+ (let* ((name (car x))
+ (body (cdr x)))
+ `((defvar ,name ',name)
+ (defface ,name ,@body))))
+ faces))))
(build-faces
(j-verb-face
- [nongnu] elpa/j-mode fcf758c 32/56: Change comment-start from "NB." to "NB. ", (continued)
- [nongnu] elpa/j-mode fcf758c 32/56: Change comment-start from "NB." to "NB. ", ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode cf27446 49/56: Merge pull request #13 from Elzair/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 328aef0 54/56: Typo, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 9615493 53/56: Merge pull request #17 from andrew-christianson/j-mode#14, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 6f7f598 55/56: Merge pull request #19 from rafoo/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode b0274cd 37/56: Fix "\\:" (Grade Down / Sort Down) for `j-help-voc-alist', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 0c58dec 34/56: Merge pull request #9 from abo-abo/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 19fe62f 29/56: Fix font-lock faces., ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode e8725ac 56/56: Merge pull request #11 from abo-abo/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 8daf7cf 25/56: Adding monkey patches for some and caddr, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 0332b64 22/56: Replacing mapcan with equivalent function which exists by default (credit to @locklin for the new form),
ELPA Syncer <=
- [nongnu] elpa/j-mode b865416 23/56: Removing common lisp idiom in favour of the proper elisp code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 9e30265 27/56: Create LICENSE, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 7e7a01e 33/56: Add `inferior-j-mode', ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 34def62 42/56: Updating copyright dates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode 8be1471 51/56: Replaced `insert-string` with `insert`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/j-mode bbfcd5b 28/56: Updating to Copyright date, ELPA Syncer, 2021/08/29