(quail-completion): Be sure to scroll quail-completion-buf.

This commit is contained in:
Kenichi Handa 2002-09-24 04:15:02 +00:00
parent ddd73e0b23
commit d5ec6a2da4
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-09-23 Kenichi Handa <handa@etl.go.jp>
* international/quail.el (quail-completion): Be sure to scroll
quail-completion-buf.
2002-09-23 Richard M. Stallman <rms@gnu.org>
* ielm.el (*1): Fix previous change.

View file

@ -2124,7 +2124,10 @@ are shown (at most to the depth specified `quail-completion-max-depth')."
;; shown. We just scroll it appropriately.
(if (pos-visible-in-window-p (point-max) win)
(set-window-start win (point-min))
(let ((other-window-scroll-buffer quail-completion-buf))
(let ((other-window-scroll-buffer quail-completion-buf)
;; This nil binding is necessary to surely scroll
;; quail-completion-buf.
(minibuffer-scroll-window nil))
(scroll-other-window)))
(setq quail-current-key key)
(erase-buffer)