Skip to content

Commit

Permalink
; Change defcustom types to natnum
Browse files Browse the repository at this point in the history
* which-key.el
(which-key-frame-max-width, which-key-frame-max-height):
Change defcustom type integer to natnum.
  • Loading branch information
jeremy-bryant authored and justbur committed Apr 9, 2024
1 parent 5111e37 commit 681001b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions which-key.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 681001b

Please sign in to comment.