[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 95edff8 5/5: * pyim-common.el (pyim-add-unread-com
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 95edff8 5/5: * pyim-common.el (pyim-add-unread-command-events): use cl-mapcan instead. |
Date: |
Fri, 10 Dec 2021 21:57:41 -0500 (EST) |
branch: externals/pyim
commit 95edff8014cf052bb15a05af90425b3d33f30321
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-common.el (pyim-add-unread-command-events): use cl-mapcan instead.
Emacs 25.3 have no mapcan.
---
pyim-common.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyim-common.el b/pyim-common.el
index 80417bf..7b421d3 100644
--- a/pyim-common.el
+++ b/pyim-common.el
@@ -174,8 +174,8 @@ When CARE-FIRST-ONE is no-nil, ((a b c) (d e)) => (a d)."
(setq unread-command-events
(if (characterp key)
(cons (cons 'no-record key) unread-command-events)
- (append (mapcan (lambda (e) (list (cons 'no-record e)))
- (append key nil))
+ (append (cl-mapcan (lambda (e) (list (cons 'no-record e)))
+ (append key nil))
unread-command-events))))
;; Fork from `company-dabbrev--time-limit-while' in company-mode."