From 59860a8c8cc1dff71db1d3c730a2bf77728a4a2e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 30 Aug 1996 00:04:33 +0000 Subject: [PATCH] (Fminibuffer_complete_word): Check for unexpected data type returned by Ftry_completion. --- src/minibuf.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.2