Mercurial > emacs
comparison src/minibuf.c @ 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 | b791ab74ff30 |
children | ccf489f8596e |
comparison
equal
deleted
inserted
replaced
15978:86922cff9d87 | 15979:9c096f0805b0 |
---|---|
1473 #else /* Rewritten code */ | 1473 #else /* Rewritten code */ |
1474 { | 1474 { |
1475 register unsigned char *buffer_string; | 1475 register unsigned char *buffer_string; |
1476 int buffer_length, completion_length; | 1476 int buffer_length, completion_length; |
1477 | 1477 |
1478 CHECK_STRING (completion, 0); | |
1478 tem = Fbuffer_string (); | 1479 tem = Fbuffer_string (); |
1479 GCPRO2 (completion, tem); | 1480 GCPRO2 (completion, tem); |
1480 /* If reading a file name, | 1481 /* If reading a file name, |
1481 expand any $ENVVAR refs in the buffer and in TEM. */ | 1482 expand any $ENVVAR refs in the buffer and in TEM. */ |
1482 if (EQ (Vminibuffer_completion_table, Qread_file_name_internal)) | 1483 if (EQ (Vminibuffer_completion_table, Qread_file_name_internal)) |