]> git.eshelyaron.com Git - emacs.git/commitdiff
(quail-show-guidance-buf): To find the bottom window (but minibuffer),
authorKenichi Handa <handa@m17n.org>
Fri, 16 Jun 2000 12:11:14 +0000 (12:11 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 16 Jun 2000 12:11:14 +0000 (12:11 +0000)
pay attention to the height of minibuffer.

lisp/international/quail.el

index c7e2da541f7bb88a4f78ffc7ab510cb342efff74..8cc46ce1bfd4e99f8e96bc12df536f73ec87d87b 100644 (file)
@@ -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.