[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/icomplete-vertical 8aab484 1/5: Fix previous commit.

From: Jimmy Aguilar Mena
Subject: feature/icomplete-vertical 8aab484 1/5: Fix previous commit.
Date: Tue, 15 Sep 2020 05:32:42 -0400 (EDT)

branch: feature/icomplete-vertical
commit 8aab48479ba474cfb265fd2526ebd799525da4bc
Author: Jimmy Aguilar Mena <spacibba@aol.com>
Commit: Jimmy Aguilar Mena <spacibba@aol.com>

    Fix previous commit.
 lisp/icomplete.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 3d6e649..ac5efc9 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -516,7 +516,7 @@ Conditions are:
   "Keymap used by `fido-mode' and `icomplete-mode' in 
-(defun icomplete--vertical-get-max-height ()
+(defun icomplete--vertical-get-max-height (line-height)
   (let ((minibuffer-parameter (frame-parameter nil 'minibuffer)))
      ((eq minibuffer-parameter t)
@@ -540,7 +540,7 @@ Conditions are:
                           (string-prefix-p prefix most t)
                           (length prefix)))
          (line-height (line-pixel-height))
-         (prospects-max-height icomplete--vertical-get-max-height)
+         (prospects-max-height (icomplete--vertical-get-max-height 
          ;; prompt + row new line around match
          (prospects-rows-pixel (* (1+ (cl-count ?\n match-braket)) 
          limit prospects comp)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]