about summary refs log tree commit diff
path: root/users/wpcarro/emacs/pkgs/list/list.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-08-05T20·33-0700
committerclbot <clbot@tvl.fyi>2022-08-05T20·37+0000
commitcc802eb44ba831cb6e0330196c7f59aaa3e49c94 (patch)
tree59e6d677bfafde013f281ac904cfa7c1c258fe33 /users/wpcarro/emacs/pkgs/list/list.el
parent8670746109c9ee2fecb91581cd74d6c913770ae8 (diff)
fix(wpcarro/emacs): Remove lingering dash.el dep r/4387
CI couldn't catch this because the dependency is discovered at runtime, and
there were no tests consuming `list-concat`. Added the tests and removed the
usage of `-concat`.

Change-Id: I5bcce9aa8170001a9d35c104da09374ab30ffbc5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6043
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/emacs/pkgs/list/list.el')
-rw-r--r--users/wpcarro/emacs/pkgs/list/list.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/pkgs/list/list.el b/users/wpcarro/emacs/pkgs/list/list.el
index 3196d85856c1..6747257d98d8 100644
--- a/users/wpcarro/emacs/pkgs/list/list.el
+++ b/users/wpcarro/emacs/pkgs/list/list.el
@@ -44,7 +44,7 @@
 
 (defun list-concat (&rest lists)
   "Joins `LISTS' into on list."
-  (apply #'-concat lists))
+  (apply #'append lists))
 
 (defun list-duplicate (n x)
   "Duplicates the given element, X, N times in a list."