From: Gerd Moellmann Date: Wed, 3 Nov 1999 16:26:28 +0000 (+0000) Subject: (isearch-complete-edit, isearch-ring-advance-edit): X-Git-Tag: emacs-pretest-21.0.90~6186 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3157c24a8e38094edca0f4bb81dcba64967d6f5f;p=emacs.git (isearch-complete-edit, isearch-ring-advance-edit): Use erase-field instead of erase-buffer. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 9333b7ca9a2..8f93bbfcab7 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -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))))