|
From: | jpkotta |
Subject: | Re: context around incremental search |
Date: | Fri, 8 Nov 2013 10:58:24 -0800 (PST) |
User-agent: | G2/1.0 |
Recenter after isearch finds a match: (defun recenter-no-redraw (&optional arg) (interactive "P") (let ((recenter-redisplay nil)) (recenter arg))) ;; recenter the cursor after finding a match (defadvice isearch-search (after isearch-recenter activate) (when isearch-success (recenter-no-redraw)))
[Prev in Thread] | Current Thread | [Next in Thread] |