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

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

[elpa] externals/which-key ba323d6712: Revert "* which-key.el (which-key


From: ELPA Syncer
Subject: [elpa] externals/which-key ba323d6712: Revert "* which-key.el (which-key--partition-list): Replace cl-subseq by take"
Date: Tue, 23 Apr 2024 09:59:22 -0400 (EDT)

branch: externals/which-key
commit ba323d6712d54806aa82847d017e94eafcf99d6f
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    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 1ece569e7e..0e14c76df9 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)))
 



reply via email to

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