changeset 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 86922cff9d87
children b3fc648a4a8e
files src/minibuf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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,