Fix printing keys with pipe char in evil-collection-describe-all-bindings
This commit is contained in:
parent
f9c38d26ea
commit
317e115a95
|
@ -240,8 +240,10 @@ Filter keys on the basis of `evil-collection-key-whitelist' and
|
||||||
(lambda (key def)
|
(lambda (key def)
|
||||||
;; Don't print nil definitions
|
;; Don't print nil definitions
|
||||||
(when def
|
(when def
|
||||||
;; FIXME: Handle keys with | in them
|
(insert (format "| %s | %S |\n"
|
||||||
(insert (format "| %s | %S |\n" (key-description key) def))))
|
(replace-regexp-in-string
|
||||||
|
"|" "¦" (key-description key))
|
||||||
|
def))))
|
||||||
bindings)
|
bindings)
|
||||||
(org-table-align))
|
(org-table-align))
|
||||||
evil-collection--bindings-record))))
|
evil-collection--bindings-record))))
|
||||||
|
|
Loading…
Reference in New Issue