Mercurial > emacs
diff lisp/isearch.el @ 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 | 4cecefebde6f |
children | 3b7a732fbde2 |
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))))