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
commitfdef00b61fb32080d71112c545ea2a95fad09e50 (patch)
tree92cd5eeeae878f11236c3432a2ba2ee773226813
parent9374ccc2731f65e9ba61849ce527138089e44049 (diff)
downloademacs-fdef00b61fb32080d71112c545ea2a95fad09e50.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,