Mercurial > emacs
comparison src/buffer.c @ 49444:a80513b20297
(Fkill_buffer): Call format2 instead of format1.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Jan 2003 19:48:30 +0000 |
parents | 8c97b527621e |
children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
49443:f9f7612c767a | 49444:a80513b20297 |
---|---|
1291 /* Query if the buffer is still modified. */ | 1291 /* Query if the buffer is still modified. */ |
1292 if (INTERACTIVE && !NILP (b->filename) | 1292 if (INTERACTIVE && !NILP (b->filename) |
1293 && BUF_MODIFF (b) > BUF_SAVE_MODIFF (b)) | 1293 && BUF_MODIFF (b) > BUF_SAVE_MODIFF (b)) |
1294 { | 1294 { |
1295 GCPRO1 (buf); | 1295 GCPRO1 (buf); |
1296 tem = do_yes_or_no_p (format1 ("Buffer %s modified; kill anyway? ", | 1296 tem = do_yes_or_no_p (format2 ("Buffer %s modified; kill anyway? ", |
1297 SDATA (b->name))); | 1297 b->name, make_number (0))); |
1298 UNGCPRO; | 1298 UNGCPRO; |
1299 if (NILP (tem)) | 1299 if (NILP (tem)) |
1300 return Qnil; | 1300 return Qnil; |
1301 } | 1301 } |
1302 | 1302 |