]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fminibuffer_complete_word): Check for
authorRichard M. Stallman <rms@gnu.org>
Fri, 30 Aug 1996 00:04:33 +0000 (00:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 30 Aug 1996 00:04:33 +0000 (00:04 +0000)
unexpected data type returned by Ftry_completion.

src/minibuf.c

index 35f562fa0e5c45dad0d84c0c04c62d64d54505ff..2f7a3baa0ae9bcf83fa4aadc2a0c830decdd933e 100644 (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,