[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20100: 24.4.91; Can't scroll a window while in minibuffer
From: |
Eli Zaretskii |
Subject: |
bug#20100: 24.4.91; Can't scroll a window while in minibuffer |
Date: |
Fri, 13 Mar 2015 22:58:18 +0200 |
> Date: Fri, 13 Mar 2015 19:41:38 +0100
> From: Oleh Krehel <ohwoeowho@gmail.com>
> Cc: 20100@debbugs.gnu.org
>
> Thanks, using `with-selected-window' instead of `with-current-buffer'
> solved it. I thought that they should be equivalent. Apparently they are not.
with-current-buffer makes the buffer current for the purposes of
editing, but not for the purposes of redisplay. By contrast,
'recenter' needs a window to do its job, so it must have the buffer
selected in the current window.