diff src/minibuf.c @ 15979:9c096f0805b0

(Fminibuffer_complete_word): Check for unexpected data type returned by Ftry_completion.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 Aug 1996 00:04:33 +0000
parents b791ab74ff30
children ccf489f8596e
line wrap: on
line diff
--- a/src/minibuf.c	Thu Aug 29 21:37:52 1996 +0000
+++ b/src/minibuf.c	Fri Aug 30 00:04:33 1996 +0000
@@ -1475,6 +1475,7 @@
     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,