diff options
| author | Jeremy Bryant | 2024-03-12 22:34:03 +0000 |
|---|---|---|
| committer | Justin Burkett | 2024-04-09 13:51:08 -0400 |
| commit | 681001bf697be06a4801e6ef1083fbf6d4a1b8ec (patch) | |
| tree | 500ef09985a995f130e9803d9a7b8f39e3b025b2 | |
| parent | 5111e377a2ae9881545710a9331f6788a26cdcbd (diff) | |
| download | emacs-681001bf697be06a4801e6ef1083fbf6d4a1b8ec.tar.gz emacs-681001bf697be06a4801e6ef1083fbf6d4a1b8ec.zip | |
; Change defcustom types to natnum
* which-key.el
(which-key-frame-max-width, which-key-frame-max-height):
Change defcustom type integer to natnum.
| -rw-r--r-- | which-key.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/which-key.el b/which-key.el index 29e0b5a277c..2f2c2804f55 100644 --- a/which-key.el +++ b/which-key.el | |||
| @@ -326,12 +326,12 @@ a percentage out of the frame's height." | |||
| 326 | 326 | ||
| 327 | (defcustom which-key-frame-max-width 60 | 327 | (defcustom which-key-frame-max-width 60 |
| 328 | "Maximum width of which-key popup when type is frame." | 328 | "Maximum width of which-key popup when type is frame." |
| 329 | :type 'integer | 329 | :type 'natnum |
| 330 | :version "1.0") | 330 | :version "1.0") |
| 331 | 331 | ||
| 332 | (defcustom which-key-frame-max-height 20 | 332 | (defcustom which-key-frame-max-height 20 |
| 333 | "Maximum height of which-key popup when type is frame." | 333 | "Maximum height of which-key popup when type is frame." |
| 334 | :type 'integer | 334 | :type 'natnum |
| 335 | :version "1.0") | 335 | :version "1.0") |
| 336 | 336 | ||
| 337 | (defcustom which-key-allow-imprecise-window-fit (not (display-graphic-p)) | 337 | (defcustom which-key-allow-imprecise-window-fit (not (display-graphic-p)) |