summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-30 00:04:33 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-30 00:04:33 +0000
commit59860a8c8cc1dff71db1d3c730a2bf77728a4a2e (patch)
treefc906916c00943f3d02f7e6c7ba9ded350ef3e9e
parent31257c3f4ee9bdc00ab564a47cbcd856e060d5fd (diff)
downloademacs-59860a8c8cc1dff71db1d3c730a2bf77728a4a2e.tar.gz
(Fminibuffer_complete_word): Check for
unexpected data type returned by Ftry_completion.
-rw-r--r--src/minibuf.c1
1 files changed, 1 insertions, 0 deletions
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,