From 26e6bfef35932110f82084da85a0f62320749d29 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 16 Jun 2000 12:11:14 +0000 Subject: [PATCH] (quail-show-guidance-buf): To find the bottom window (but minibuffer), pay attention to the height of minibuffer. --- lisp/international/quail.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index c7e2da541f7..8cc46ce1bfd 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -1549,7 +1549,8 @@ or in a newly created frame (if the selected frame has no other windows)." (quail-make-guidance-frame quail-guidance-buf) ;; Find the bottom window and split it if necessary. (let (height) - (setq win (window-at 0 (- (frame-height) 2))) + (setq win (window-at + 0 (1- (- (frame-height) (window-height win))))) (setq height (window-height win)) ;; If WIN is tall enough, split it vertically and use ;; the lower one. -- 2.39.5