[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 78f76fe: Make cl-concatenate an alias of seq-concatenate
From: |
Noam Postavsky |
Subject: |
master 78f76fe: Make cl-concatenate an alias of seq-concatenate |
Date: |
Mon, 23 Mar 2020 19:01:46 -0400 (EDT) |
branch: master
commit 78f76fe16e2737b40694f82af28d17a90a21ed7b
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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.
---
lisp/emacs-lisp/cl-extra.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index f8336d3..5bf7479 100644
--- 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
-(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 78f76fe: Make cl-concatenate an alias of seq-concatenate,
Noam Postavsky <=