emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs scrolling past the end of buffer


From: Eli Zaretskii
Subject: Re: Emacs scrolling past the end of buffer
Date: Sun, 12 Feb 2012 23:11:28 +0200

> Date: Sun, 12 Feb 2012 20:52:41 +0100
> From: Deniz Dogan <address@hidden>
> CC: address@hidden
> 
> > Please make sure that no code that runs off `window-scroll-functions'
> > tries to affect the display.  Functions run by that hook should treat
> > the display as "read-only".
> 
> Yeah, I noticed the warning in the manual and function docstring, but 
> there was no explanation as to why.  Is this to avoid recursive 
> execution of the hooks?

Mostly to uphold the assumptions which the code that runs
`window-scroll-functions' relies on: that the visible portion of the
window does not change across this call.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]