branch: externals/which-key
commit 681001bf697be06a4801e6ef1083fbf6d4a1b8ec
Author: Jeremy Bryant <[email protected]>
Commit: Justin Burkett <[email protected]>

    ; Change defcustom types to natnum
    
    * which-key.el
    (which-key-frame-max-width, which-key-frame-max-height):
    Change defcustom type integer to natnum.
---
 which-key.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/which-key.el b/which-key.el
index 29e0b5a277..2f2c2804f5 100644
--- a/which-key.el
+++ b/which-key.el
@@ -326,12 +326,12 @@ a percentage out of the frame's height."
 
 (defcustom which-key-frame-max-width 60
   "Maximum width of which-key popup when type is frame."
-  :type 'integer
+  :type 'natnum
   :version "1.0")
 
 (defcustom which-key-frame-max-height 20
   "Maximum height of which-key popup when type is frame."
-  :type 'integer
+  :type 'natnum
   :version "1.0")
 
 (defcustom which-key-allow-imprecise-window-fit (not (display-graphic-p))

Reply via email to