Mercurial > emacs
comparison src/eval.c @ 23578:a4b29402f761
(Fsignal): Use a separate format string when passing
error message string to fatal, in case it contains %'s.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 30 Oct 1998 10:14:50 +0000 |
parents | a9090a71e969 |
children | 19ff7845d5f7 |
comparison
equal
deleted
inserted
replaced
23577:36cccf1ba0a9 | 23578:a4b29402f761 |
---|---|
1291 | 1291 |
1292 if (! NILP (error_symbol)) | 1292 if (! NILP (error_symbol)) |
1293 data = Fcons (error_symbol, data); | 1293 data = Fcons (error_symbol, data); |
1294 | 1294 |
1295 string = Ferror_message_string (data); | 1295 string = Ferror_message_string (data); |
1296 fatal (XSTRING (string)->data, 0, 0); | 1296 fatal ("%s", XSTRING (string)->data, 0); |
1297 } | 1297 } |
1298 | 1298 |
1299 /* Return nonzero iff LIST is a non-nil atom or | 1299 /* Return nonzero iff LIST is a non-nil atom or |
1300 a list containing one of CONDITIONS. */ | 1300 a list containing one of CONDITIONS. */ |
1301 | 1301 |