changeset 26349:e3e54e862d5f

(previous-matching-history-element) (next-history-element): Use delete-field instead of erase-field.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 04 Nov 1999 20:42:27 +0000
parents 10cb17dccd20
children 3b7a732fbde2
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Thu Nov 04 20:30:49 1999 +0000
+++ b/lisp/simple.el	Thu Nov 04 20:42:27 1999 +0000
@@ -747,7 +747,7 @@
 	  (setq n (+ n (if (< n 0) 1 -1)))))
     (setq minibuffer-history-position pos)
     (goto-char (point-max))
-    (erase-field)
+    (delete-field)
     (let ((elt (nth (1- pos) history)))
       (insert (if (eq minibuffer-history-sexp-flag (minibuffer-depth))
 		  (let ((print-level nil))
@@ -796,7 +796,7 @@
 	(if (> narg (length (symbol-value minibuffer-history-variable)))
 	    (error "Beginning of history; no preceding item"))
 	(goto-char (point-max))
-	(erase-field)
+	(delete-field)
 	(setq minibuffer-history-position narg)
 	(cond ((= narg -1)
 	       (setq elt minibuffer-default))