aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>1999-11-04 20:43:05 +0000
committerGerd Moellmann <[email protected]>1999-11-04 20:43:05 +0000
commitb7b66466a9e0ec45cd655ee3616716485304fe7c (patch)
tree8fef750d4b0de345dd8aeee1f5f9404957cab61f /lisp
parent12de1411b399f3cd4bd2c99c7bdf914e818de652 (diff)
(isearch-ring-advance-edit, isearch-complete-edit):
Use delete-field instead of erase-field.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/isearch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 8f93bbfcab..4a57607b30 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-field)
+ (delete-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-field)
+ (delete-field)
(insert isearch-string))))