help-gnu-emacs
[Top][All Lists]
Advanced

[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]