From ba323d6712d54806aa82847d017e94eafcf99d6f Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Tue, 23 Apr 2024 09:20:28 -0400 Subject: [PATCH] Revert "* which-key.el (which-key--partition-list): Replace cl-subseq by take" This reverts commit 94a29cda9f75c9901667bf45ff25bd8c892cb416. --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 1ece569..0e14c76 100644 --- a/which-key.el +++ b/which-key.el @@ -2016,7 +2016,7 @@ that width." "Partition LIST into N-sized sublists." (let (res) (while list - (setq res (cons (take (min n (length list)) list) res) + (setq res (cons (cl-subseq list 0 (min n (length list))) res) list (nthcdr n list))) (nreverse res)))