[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: scroll behaviour during query-replace etc
From: |
Greg Hill |
Subject: |
Re: Re: scroll behaviour during query-replace etc |
Date: |
Fri, 8 Oct 2004 13:39:27 -0700 |
Gordon,
Come to think of it, you might like this better.
(defadvice search-forward (after
view-context compile activate disable)
(if (< (count-lines (point)
(window-end)) scroll-margin)
(recenter (-
scroll-margin))))
--Greg
- Re: Re: scroll behaviour during query-replace etc,
Greg Hill <=