# HG changeset patch # User Kenichi Handa # Date 961157474 0 # Node ID a81355bcaaebb62eb28c2d3bc7964329c32b5f49 # Parent e048b5f9800395bd74640bb2da12eb2277b0c34a (quail-show-guidance-buf): To find the bottom window (but minibuffer), pay attention to the height of minibuffer. diff -r e048b5f98003 -r a81355bcaaeb lisp/international/quail.el --- 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.