Make cl-concatenate an alias of seq-concatenate
* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use defalias instead of apply. This is simpler and more efficient.
This commit is contained in:
parent
5d5d5d492c
commit
78f76fe16e
1 changed files with 2 additions and 3 deletions
|
@ -552,10 +552,9 @@ too large if positive or too small if negative)."
|
|||
(seq-subseq seq start end))
|
||||
|
||||
;;;###autoload
|
||||
(defun cl-concatenate (type &rest sequences)
|
||||
(defalias '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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue