Function: which-key-prefix-then-key-order
which-key-prefix-then-key-order is a byte-compiled function defined in
which-key.el.gz.
Signature
(which-key-prefix-then-key-order ACONS BCONS)
Documentation
Order prefixes before non-prefixes.
Within these categories order using which-key-key-order.
Source Code
;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key-prefix-then-key-order (acons bcons)
"Order prefixes before non-prefixes.
Within these categories order using `which-key-key-order'."
(let ((apref? (which-key--group-p (cdr acons)))
(bpref? (which-key--group-p (cdr bcons))))
(if (not (eq apref? bpref?))
(and (not apref?) bpref?)
(which-key-key-order acons bcons))))