Is it possible to calculate a new window-start/end without a redisplay occurring? If so, then an example would be greatly appreciated. If not, th
Offhand, I'd say that the error is raised because you pass a BOUND
arg to a search function. For example:
(re-search-backward "\n" window-start t)
(re-search-backward "\s\\|\t" pbol t)
Check your values of window-start
and pbol
. Remember that when you search backward the bound must not be greater than the current position (point).