From: Richard M. Stallman Date: Fri, 30 Aug 1996 00:04:33 +0000 (+0000) Subject: (Fminibuffer_complete_word): Check for X-Git-Tag: emacs-20.1~3965 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59860a8c8cc1dff71db1d3c730a2bf77728a4a2e;p=emacs.git (Fminibuffer_complete_word): Check for unexpected data type returned by Ftry_completion. --- 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,