summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/minibuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 35f562fa0e5..2f7a3baa0ae 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1475,6 +1475,7 @@ Return nil if there is no valid completion, else t.")
register unsigned char *buffer_string;
int buffer_length, completion_length;
+ CHECK_STRING (completion, 0);
tem = Fbuffer_string ();
GCPRO2 (completion, tem);
/* If reading a file name,