Commit 26e6bfef authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(quail-show-guidance-buf): To find the bottom window (but minibuffer),

pay attention to the height of minibuffer.
parent 1699f991
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment