emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 78a2943 08/21: Fix ordering of default replacement-alist


From: Justin Burkett
Subject: [elpa] master 78a2943 08/21: Fix ordering of default replacement-alist
Date: Mon, 8 Jan 2018 22:46:55 -0500 (EST)

branch: master
commit 78a29434789c7e7af7b3cf10a548d6247a69d3a9
Author: Justin Burkett <address@hidden>
Commit: Justin Burkett <address@hidden>

    Fix ordering of default replacement-alist
    
    When which-key-allow-multiple-replacements is nil, this order is required 
to get
    the intended behavior with left and right.
    
    Ref #181
---
 which-key.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/which-key.el b/which-key.el
index 79f7aff..e0c0356 100644
--- a/which-key.el
+++ b/which-key.el
@@ -152,10 +152,10 @@ remapped given the currently active keymaps."
         `(((nil . "Prefix Command") . (nil . "prefix"))
           ((nil . "\\`\\?\\?\\'") . (nil . "lambda"))
           ((nil . "which-key-show-next-page-no-cycle") . (nil . "wk next pg"))
-          (("<\\([[:alnum:]-]+\\)>") . ("\\1"))
           ,@(unless which-key-dont-use-unicode
-              '((("left") . ("←"))
-                (("right") . ("→"))))))
+              '((("<left>") . ("←"))
+                (("<right>") . ("→"))))
+          (("<\\([[:alnum:]-]+\\)>") . ("\\1"))))
   "Association list to determine how to manipulate descriptions
 of key bindings in the which-key popup. Each element of the list
 is a nested cons cell with the format



reply via email to

[Prev in Thread] Current Thread [Next in Thread]