emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/which-key 94a29cda9f 07/12: * which-key.el (which-key--


From: ELPA Syncer
Subject: [elpa] externals/which-key 94a29cda9f 07/12: * which-key.el (which-key--partition-list): Replace cl-subseq by take
Date: Tue, 9 Apr 2024 15:59:00 -0400 (EDT)

branch: externals/which-key
commit 94a29cda9f75c9901667bf45ff25bd8c892cb416
Author: Jeremy Bryant <jb@jeremybryant.net>
Commit: Justin Burkett <justin@burkett.cc>

    * 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

[Prev in Thread] Current Thread [Next in Thread]