|
From: | Juri Linkov |
Subject: | bug#12253: Restore window start position |
Date: | Sat, 19 Jan 2013 12:17:30 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
> + 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'?
[Prev in Thread] | Current Thread | [Next in Thread] |