aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--which-key.el5
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
346fitting the popup window to the buffer. If you are noticing lag 346fitting the popup window to the buffer. If you are noticing lag
347when the which-key popup displays turning this on may help. 347when the which-key popup displays turning this on may help.
348 348
349See https://github.com/justbur/emacs-which-key/issues/130" 349See https://github.com/justbur/emacs-which-key/issues/130
350and 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