Re: static declaration inside `window_scroll_pixel_based' in window.c

From:

Luc Teirlinck

Subject:

Re: static declaration inside `window_scroll_pixel_based' in window.c

Date:

Wed, 8 Mar 2006 18:49:26 -0600 (CST)

>From my earlier message:
Anyway, if the above quote from `(elisp)Writing Emacs Primitives' does
apply here, the problem would be easy to fix with the following patch,
which I can install if desired.
No, I responded too quickly. The patch is incorrect, since it always
re-initializes preserve_y to -1 at the start of `window_scroll_pixel_based',
defeating its static-ness.
Sincerely,
Luc.