Commit 3157c24a authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

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

Use erase-field instead of erase-buffer.
parent 5d7791b3
......@@ -1324,7 +1324,7 @@ With prefix arg N, insert the Nth element."
(mod (- (or yank-pointer 0) n)
length)))
(erase-buffer)
(erase-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-buffer)
(erase-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