Function: which-key--rotate

which-key--rotate is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--rotate LIST N)

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--rotate (list n)
  (let* ((len (length list))
         (n (- len (mod n len))))
    (append (last list n) (butlast list n))))