Commit b7b66466 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(isearch-ring-advance-edit, isearch-complete-edit):

Use delete-field instead of erase-field.
parent 12de1411
......@@ -1324,7 +1324,7 @@ With prefix arg N, insert the Nth element."
(mod (- (or yank-pointer 0) n)
length)))
(erase-field)
(delete-field)
(insert (nth yank-pointer ring))
(goto-char (point-max)))))
......@@ -1393,7 +1393,7 @@ If there is no completion possible, say so and continue searching."
(setq isearch-string (buffer-string))
(if (isearch-complete1)
(progn
(erase-field)
(delete-field)
(insert isearch-string))))
......
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