branch: externals/which-key
commit 94a29cda9f75c9901667bf45ff25bd8c892cb416
Author: Jeremy Bryant <[email protected]>
Commit: Justin Burkett <[email protected]>

    * which-key.el (which-key--partition-list): Replace cl-subseq by take
---
 which-key.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/which-key.el b/which-key.el
index bf45386f57..decde2d10b 100644
--- a/which-key.el
+++ b/which-key.el
@@ -2013,7 +2013,7 @@ that width."
   "Partition LIST into N-sized sublists."
   (let (res)
     (while list
-      (setq res (cons (cl-subseq list 0 (min n (length list))) res)
+      (setq res (cons (take (min n (length list)) list) res)
             list (nthcdr n list)))
     (nreverse res)))
 

Reply via email to