changeset 29690:a81355bcaaeb

(quail-show-guidance-buf): To find the bottom window (but minibuffer), pay attention to the height of minibuffer.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Jun 2000 12:11:14 +0000
parents e048b5f98003
children 3d9445cfdfa3
files lisp/international/quail.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/quail.el	Fri Jun 16 12:08:52 2000 +0000
+++ b/lisp/international/quail.el	Fri Jun 16 12:11:14 2000 +0000
@@ -1549,7 +1549,8 @@
 	      (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.