Mercurial > emacs
diff src/print.c @ 24368:d4edd0f4edfa
(print_error_message): Don't crash if (cdr data) is not a list.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 21 Feb 1999 19:56:08 +0000 |
| parents | a45f10911408 |
| children | 12235d1f1871 |
line wrap: on
line diff
--- a/src/print.c Sun Feb 21 16:36:07 1999 +0000 +++ b/src/print.c Sun Feb 21 19:56:08 1999 +0000 @@ -1054,7 +1054,7 @@ /* For file-error, make error message by concatenating all the data items. They are all strings. */ - if (!NILP (file_error) && !NILP (tail)) + if (!NILP (file_error) && CONSP (tail)) errmsg = XCONS (tail)->car, tail = XCONS (tail)->cdr; if (STRINGP (errmsg))
