Fix evil-collection-describe-bindings
Sort a copy of the stored bindings, because sort can modify the underlying object.
This commit is contained in:
parent
df269baf95
commit
1afea31ac6
|
@ -295,7 +295,8 @@ modes in the current buffer."
|
|||
")
|
||||
(cl-loop
|
||||
for (state key def) in
|
||||
(sort (gethash keymap evil-collection--bindings-record)
|
||||
(sort (copy-sequence
|
||||
(gethash keymap evil-collection--bindings-record))
|
||||
#'evil-collection--binding-lessp)
|
||||
do
|
||||
(when (and def (not (eq def 'ignore)))
|
||||
|
|
Loading…
Reference in New Issue