[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using lisp code in query-replace-regexp
From: |
Emanuel Berg |
Subject: |
Re: Using lisp code in query-replace-regexp |
Date: |
Thu, 06 Nov 2014 00:41:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Julien Cubizolles <j.cubizolles@free.fr> writes:
> I used replace-match-maybe-edit because I wanted to
> be prompted for each replacement, and replace-match
> wouldn't allow it. However with
> replace-match-maybe-edit, the excursion is messed up
> at the end. It wasn't the case with replace-match.
How do you mean messed up? You are using
`save-excursion' outside of `save-restriction' just as
you should.
--
underground experts united