diff options
| author | Richard M. Stallman | 1996-08-30 00:04:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-08-30 00:04:33 +0000 |
| commit | 59860a8c8cc1dff71db1d3c730a2bf77728a4a2e (patch) | |
| tree | fc906916c00943f3d02f7e6c7ba9ded350ef3e9e | |
| parent | 31257c3f4ee9bdc00ab564a47cbcd856e060d5fd (diff) | |
| download | emacs-59860a8c8cc1dff71db1d3c730a2bf77728a4a2e.tar.gz emacs-59860a8c8cc1dff71db1d3c730a2bf77728a4a2e.zip | |
(Fminibuffer_complete_word): Check for
unexpected data type returned by Ftry_completion.
| -rw-r--r-- | src/minibuf.c | 1 |
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.") | |||
| 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, |