aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2019-11-09 23:32:46 +0200
committerJuri Linkov2019-11-09 23:32:46 +0200
commit898cdc67f19ca15f4ac2b447adf350188baef604 (patch)
treec9e859ade9bd726b725dba8fc6add71023fccde2 /etc
parent06cb8350c69d96c686f17fdb2d1f9260cd16a0df (diff)
downloademacs-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 61b9f933f15..4e6a70f6931 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
714on 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
715been introduced to allow controlling how the 'M-<' command works in 718been introduced to allow controlling how the 'M-<' command works in