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

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

[elpa] externals/which-key 1e3640e 18/51: Make next page hint more consi


From: Stefan Monnier
Subject: [elpa] externals/which-key 1e3640e 18/51: Make next page hint more consistent
Date: Tue, 8 Sep 2020 10:26:17 -0400 (EDT)

branch: externals/which-key
commit 1e3640e48c31f8062f018b5fc84acad696a0ea2a
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Make next page hint more consistent
---
 which-key.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/which-key.el b/which-key.el
index f3334e1..1da0cfb 100644
--- a/which-key.el
+++ b/which-key.el
@@ -2049,9 +2049,10 @@ max-lines max-width avl-lines avl-width 
(which-key--pages-height result))
   (let* ((paging-key (concat prefix-keys " " which-key-paging-key))
          (paging-key-bound (eq 'which-key-C-h-dispatch
                                (key-binding (kbd paging-key))))
+         (key (key-description (vector help-char)))
          (key (if paging-key-bound
-                  which-key-paging-key
-                (key-description (vector help-char)))))
+                  (concat key " or " which-key-paging-key)
+                key)))
     (when which-key-use-C-h-commands
       (which-key--propertize (format "[%s paging/help]" key)
                              'face 'which-key-note-face))))



reply via email to

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