From 1c280772c357247c1638b843574a1226742b9dfc Mon Sep 17 00:00:00 2001 From: Jimmy Yuen Ho Wong Date: Sat, 20 May 2017 23:46:12 +0100 Subject: [PATCH] Customize which-key-sort-order with list This will display a list the user can choose from in customize instead of having them to type --- which-key.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 4dc772bfd9c..137ab41d1e2 100644 --- a/which-key.el +++ b/which-key.el @@ -355,7 +355,11 @@ are See the README and the docstrings for those functions for more information." :group 'which-key - :type 'function) + :type '(choice (function-item which-key-key-order) + (function-item which-key-key-order-alpha) + (function-item which-key-description-order) + (function-item which-key-prefix-then-key-order) + (function-item which-key-local-then-key-order))) (defcustom which-key-sort-uppercase-first t "If non-nil, uppercase comes before lowercase in sorting