(Fminibuffer_complete_word): Check for

unexpected data type returned by Ftry_completion.
This commit is contained in:
Richard M. Stallman
1996-08-30 00:04:33 +00:00
parent 31257c3f4e
commit 59860a8c8c

View File

@@ -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,