From: Gerd Moellmann Date: Thu, 4 Nov 1999 20:30:49 +0000 (+0000) Subject: (do_completion, Fminibuffer_complete_word): Use X-Git-Tag: emacs-pretest-21.0.90~6176 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98cbb9a3dda5d5ef84ab5c81c49886d8ec274e0c;p=emacs.git (do_completion, Fminibuffer_complete_word): Use Ferase_field instead of Fdelete_field. --- diff --git a/src/minibuf.c b/src/minibuf.c index 28e576939f2..711dc2da05a 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1593,7 +1593,7 @@ do_completion () completedp = NILP (tem); if (completedp) { - Ferase_field (make_number (ZV)); /* Some completion happened */ + Fdelete_field (make_number (ZV)); /* Some completion happened */ Finsert (1, &completion); } @@ -1837,7 +1837,7 @@ Return nil if there is no valid completion, else t.") if (! EQ (substituted, tem)) { tem = substituted; - Ferase_field (make_number (ZV)); + Fdelete_field (make_number (ZV)); insert_from_string (tem, 0, 0, XSTRING (tem)->size, STRING_BYTES (XSTRING (tem)), 0); } @@ -1945,7 +1945,7 @@ Return nil if there is no valid completion, else t.") /* Otherwise insert in minibuffer the chars we got */ - Ferase_field (make_number (ZV)); + Fdelete_field (make_number (ZV)); insert_from_string (completion, 0, 0, i, i_byte, 1); return Qt; }