From ca5812c7f5fd222db48aa7f43986ae6240e3640a Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Mon, 5 Jun 2017 19:18:14 -0400 Subject: [PATCH v1] * lisp/icomplete.el (icomplete-prospects-height): Default to 2 (Bug#26939). --- lisp/icomplete.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/icomplete.el b/lisp/icomplete.el index cd352de65b..00f8ed18a1 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -91,13 +91,10 @@ (defface icomplete-first-match '((t :weight bold)) :version "24.4") ;;;_* User Customization variables -(defcustom icomplete-prospects-height - ;; 20 is an estimated common size for the prompt + minibuffer content, to - ;; try to guess the number of lines used up by icomplete-prospects-length. - (+ 1 (/ (+ icomplete-prospects-length 20) (window-width))) +(defcustom icomplete-prospects-height 2 "Maximum number of lines to use in the minibuffer." :type 'integer - :version "23.1") + :version "26.1") (defcustom icomplete-compute-delay .3 "Completions-computation stall, used only with large-number completions. -- 2.11.1