From 317e115a953af8c81ae403fd98b754fbeaf09603 Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Tue, 5 Jun 2018 22:06:51 -0400 Subject: [PATCH] Fix printing keys with pipe char in evil-collection-describe-all-bindings --- evil-collection.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/evil-collection.el b/evil-collection.el index 6c8a785..15f8c4e 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -240,8 +240,10 @@ Filter keys on the basis of `evil-collection-key-whitelist' and (lambda (key def) ;; Don't print nil definitions (when def - ;; FIXME: Handle keys with | in them - (insert (format "| %s | %S |\n" (key-description key) def)))) + (insert (format "| %s | %S |\n" + (replace-regexp-in-string + "|" "¦" (key-description key)) + def)))) bindings) (org-table-align)) evil-collection--bindings-record))))