Commit cb05ca25 authored by David Kastrup's avatar David Kastrup
Browse files

(perform-replace): Highlight the match even in

non-query mode if there is potential replace string editing.
parent 15cc764c
2004-06-26 David Kastrup <dak@gnu.org>
* replace.el (perform-replace): Highlight the match even in
non-query mode if there is potential replace string editing.
2004-06-26 Kai Grossjohann <kai.grossjohann@gmx.net>
* net/tramp.el (tramp-handle-file-remote-p): New implementation to
......
......@@ -1328,7 +1328,11 @@ make, or the user didn't cancel the call."
replace-count)
noedit nil))
(if (not query-flag)
(let ((inhibit-read-only query-replace-skip-read-only))
(let ((inhibit-read-only
query-replace-skip-read-only))
(unless noedit
(replace-highlight (nth 0 real-match-data)
(nth 1 real-match-data)))
(setq noedit
(replace-match-maybe-edit
next-replacement nocasify literal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment