diff options
| author | Justin Burkett | 2019-11-27 12:00:57 -0500 |
|---|---|---|
| committer | Justin Burkett | 2019-11-27 12:00:57 -0500 |
| commit | dcb9820c2decd326465ec3dfc792d30429cec564 (patch) | |
| tree | bd426a672c4c21e4c9f4ad4f2adae8763631128d | |
| parent | a916c9ae28e961922d8d8419e633f9321fcdbe53 (diff) | |
| download | emacs-dcb9820c2decd326465ec3dfc792d30429cec564.tar.gz emacs-dcb9820c2decd326465ec3dfc792d30429cec564.zip | |
Default to imprecise window fitting on terminal
See #225.
| -rw-r--r-- | which-key.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/which-key.el b/which-key.el index 88775d4b839..1a0f5c68f65 100644 --- a/which-key.el +++ b/which-key.el | |||
| @@ -341,12 +341,13 @@ a percentage out of the frame's height." | |||
| 341 | :group 'which-key | 341 | :group 'which-key |
| 342 | :type 'integer) | 342 | :type 'integer) |
| 343 | 343 | ||
| 344 | (defcustom which-key-allow-imprecise-window-fit nil | 344 | (defcustom which-key-allow-imprecise-window-fit (not (display-graphic-p)) |
| 345 | "If non-nil allow which-key to use a less intensive method of | 345 | "If non-nil allow which-key to use a less intensive method of |
| 346 | fitting the popup window to the buffer. If you are noticing lag | 346 | fitting the popup window to the buffer. If you are noticing lag |
| 347 | when the which-key popup displays turning this on may help. | 347 | when the which-key popup displays turning this on may help. |
| 348 | 348 | ||
| 349 | See https://github.com/justbur/emacs-which-key/issues/130" | 349 | See https://github.com/justbur/emacs-which-key/issues/130 |
| 350 | and https://github.com/justbur/emacs-which-key/issues/225." | ||
| 350 | :group 'which-key | 351 | :group 'which-key |
| 351 | :type 'boolean) | 352 | :type 'boolean) |
| 352 | 353 | ||