projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5d5d4
)
Make cl-concatenate an alias of seq-concatenate
author
Noam Postavsky
<npostavs@gmail.com>
Mon, 23 Mar 2020 22:58:21 +0000
(18:58 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Mon, 23 Mar 2020 22:58:21 +0000
(18:58 -0400)
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use defalias instead
of apply. This is simpler and more efficient.
lisp/emacs-lisp/cl-extra.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-extra.el
b/lisp/emacs-lisp/cl-extra.el
index f8336d397d78301d1715ee37d1835d193e59597a..5bf74792c08e9b32df9e8e29b32cf8967b98c73e 100644
(file)
--- a/
lisp/emacs-lisp/cl-extra.el
+++ b/
lisp/emacs-lisp/cl-extra.el
@@
-552,10
+552,9
@@
too large if positive or too small if negative)."
(seq-subseq seq start end))
;;;###autoload
-(def
un cl-concatenate (type &rest sequences)
+(def
alias 'cl-concatenate #'seq-concatenate
"Concatenate, into a sequence of type TYPE, the argument SEQUENCEs.
-\n(fn TYPE SEQUENCE...)"
- (apply #'seq-concatenate type sequences))
+\n(fn TYPE SEQUENCE...)")
;;; List functions.