changeset 26335:e0f465df598c

(isearch-complete-edit, isearch-ring-advance-edit): Use erase-field instead of erase-buffer.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 03 Nov 1999 16:26:28 +0000
parents e3a9ceb7a557
children 555733a3a38e
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Wed Nov 03 15:57:55 1999 +0000
+++ b/lisp/isearch.el	Wed Nov 03 16:26:28 1999 +0000
@@ -1324,7 +1324,7 @@
 		 (mod (- (or yank-pointer 0) n)
 		      length)))
 
-      (erase-buffer)
+      (erase-field)
       (insert (nth yank-pointer ring))
       (goto-char (point-max)))))
 
@@ -1393,7 +1393,7 @@
   (setq isearch-string (buffer-string))
   (if (isearch-complete1)
       (progn
-	(erase-buffer)
+	(erase-field)
 	(insert isearch-string))))