branch: externals/pyim commit 95edff8014cf052bb15a05af90425b3d33f30321 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@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."