Commit c484f866 authored by Jorgen Schaefer's avatar Jorgen Schaefer
Browse files

Scroll correct window when showing completion options.

* minibuffer.el (completion--in-region-1): Scroll the correct
window. (Bug#13898)
parent b55aea38
2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
* minibuffer.el (completion--in-region-1): Scroll the correct
window. (Bug#13898)
2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
* emacs-lisp/helpers.el: Add some string helpers.
......
......@@ -1067,7 +1067,8 @@ scroll the window of possible completions."
;; If end is in view, scroll up to the beginning.
(set-window-start window (point-min) nil)
;; Else scroll down one screen.
(scroll-other-window))
(with-selected-window window
(scroll-up)))
nil)))
;; If we're cycling, keep on cycling.
((and completion-cycling completion-all-sorted-completions)
......
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