Subject: Re: bug#12253: Restore window start position

From: Juri Linkov <[email-masked]>
Date: Sat, 19 Jan 2013 12:17:30 +0200

> +         isearch-win-pt-line (- (line-number-at-pos)
> +                                (line-number-at-pos (window-start)))
> ...
> !     (when isearch-win-pt-line (recenter isearch-win-pt-line)))

Why do you use `line-number-at-pos' and `recenter' instead of
`window-start' and `set-window-start'?