|
From: | Kevin Rodgers |
Subject: | Re: looking for: query-replace with a "yank-word" binding ala isearch |
Date: | Fri, 08 Nov 2002 10:10:22 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
bigfaceworm wrote:
I was wondering if anyone had a yank-word binding for query-replace similar to the C-w binding for isearch-forward.I tried defining my own, but because the control switches to the minibuffer, I'm not sure how to find the buffer in which to do:(buffer-substring (point) (progn (forward-word 1) (point)))
Try wrapping that in (save-excursion (set-buffer (window-buffer minibuffer-scroll-window)) ...) -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |