aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c6
1 files changed, 3 insertions, 3 deletions
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 ()
1593 completedp = NILP (tem); 1593 completedp = NILP (tem);
1594 if (completedp) 1594 if (completedp)
1595 { 1595 {
1596 Ferase_field (make_number (ZV)); /* Some completion happened */ 1596 Fdelete_field (make_number (ZV)); /* Some completion happened */
1597 Finsert (1, &completion); 1597 Finsert (1, &completion);
1598 } 1598 }
1599 1599
@@ -1837,7 +1837,7 @@ Return nil if there is no valid completion, else t.")
1837 if (! EQ (substituted, tem)) 1837 if (! EQ (substituted, tem))
1838 { 1838 {
1839 tem = substituted; 1839 tem = substituted;
1840 Ferase_field (make_number (ZV)); 1840 Fdelete_field (make_number (ZV));
1841 insert_from_string (tem, 0, 0, XSTRING (tem)->size, 1841 insert_from_string (tem, 0, 0, XSTRING (tem)->size,
1842 STRING_BYTES (XSTRING (tem)), 0); 1842 STRING_BYTES (XSTRING (tem)), 0);
1843 } 1843 }
@@ -1945,7 +1945,7 @@ Return nil if there is no valid completion, else t.")
1945 1945
1946 /* Otherwise insert in minibuffer the chars we got */ 1946 /* Otherwise insert in minibuffer the chars we got */
1947 1947
1948 Ferase_field (make_number (ZV)); 1948 Fdelete_field (make_number (ZV));
1949 insert_from_string (completion, 0, 0, i, i_byte, 1); 1949 insert_from_string (completion, 0, 0, i, i_byte, 1);
1950 return Qt; 1950 return Qt;
1951} 1951}