diff options
| author | Juri Linkov | 2019-11-09 23:32:46 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-11-09 23:32:46 +0200 |
| commit | 898cdc67f19ca15f4ac2b447adf350188baef604 (patch) | |
| tree | c9e859ade9bd726b725dba8fc6add71023fccde2 /etc | |
| parent | 06cb8350c69d96c686f17fdb2d1f9260cd16a0df (diff) | |
| download | emacs-898cdc67f19ca15f4ac2b447adf350188baef604.tar.gz emacs-898cdc67f19ca15f4ac2b447adf350188baef604.zip | |
Run scroll/recenter commands from minibuffer in original window (bug#38076)
* lisp/minibuffer.el (with-minibuffer-selected-window): New macro.
(minibuffer-recenter-top-bottom, minibuffer-scroll-up-command)
(minibuffer-scroll-down-command, minibuffer-scroll-other-window):
(minibuffer-scroll-other-window-down): New commands.
(minibuffer-local-map): Remap recenter/scroll symbols to their
minibuffer wrappers: recenter-top-bottom to minibuffer-recenter-top-bottom.
* src/window.c (Fother_window_for_scrolling): Use 'lambda' value for
MINIBUF arg of Fnext_window, so minibuffer-scroll-other-window and
minibuffer-scroll-other-window-down doesn't try to scroll the
minibuffer window.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -710,6 +710,9 @@ list the contents of such directories when completing file names. | |||
| 710 | 710 | ||
| 711 | ** Minibuffer | 711 | ** Minibuffer |
| 712 | 712 | ||
| 713 | *** Scrolling and recentering commands in the minibuffer are invoked | ||
| 714 | on the original window (that was selected before activating the minibuffer). | ||
| 715 | |||
| 713 | +++ | 716 | +++ |
| 714 | *** A new user option, 'minibuffer-beginning-of-buffer-movement', has | 717 | *** A new user option, 'minibuffer-beginning-of-buffer-movement', has |
| 715 | been introduced to allow controlling how the 'M-<' command works in | 718 | been introduced to allow controlling how the 'M-<' command works in |