diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-11-03 16:26:28 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-11-03 16:26:28 +0000 |
commit | 980fb4e484f24a9e6c1e63cf890432b50a69a8bb (patch) | |
tree | 00a5620196fbe0e9987c546022543012d9e00301 /lisp/isearch.el | |
parent | 6fd56c9cf21fa73269b894c58d97bba879fd9d5d (diff) | |
download | emacs-980fb4e484f24a9e6c1e63cf890432b50a69a8bb.tar.gz |
(isearch-complete-edit, isearch-ring-advance-edit):
Use erase-field instead of erase-buffer.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 4 |
1 files changed, 2 insertions, 2 deletions
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)))) |