diff options
| author | Paul Eggert | 2015-05-30 15:29:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-05-30 15:30:47 -0700 |
| commit | d90a3b186d57ac700a32988b720f76f289740ece (patch) | |
| tree | ca4a9bef4c9ba6bc7f03d02766d1c09247763994 /src/buffer.c | |
| parent | 75f8653bfe0da39acca9dbcb8b021ad033ac6ae9 (diff) | |
| download | emacs-d90a3b186d57ac700a32988b720f76f289740ece.tar.gz emacs-d90a3b186d57ac700a32988b720f76f289740ece.zip | |
Remove format2
* src/editfns.c, src/lisp.h (format2): Remove.
It is more trouble than it's worth, now that we have CALLN.
This is just a minor refactoring.
* src/buffer.c (Fkill_buffer):
* src/dbusbind.c (XD_OBJECT_TO_STRING):
* src/fileio.c (barf_or_query_if_file_exists):
Adjust to format2 going away.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index c78d08c53d2..13843a2ac4d 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1666,8 +1666,8 @@ cleaning up all windows currently displaying the buffer to be killed. */) | |||
| 1666 | && BUF_MODIFF (b) > BUF_SAVE_MODIFF (b)) | 1666 | && BUF_MODIFF (b) > BUF_SAVE_MODIFF (b)) |
| 1667 | { | 1667 | { |
| 1668 | GCPRO1 (buffer); | 1668 | GCPRO1 (buffer); |
| 1669 | tem = do_yes_or_no_p (format2 ("Buffer %s modified; kill anyway? ", | 1669 | AUTO_STRING (format, "Buffer %s modified; kill anyway? "); |
| 1670 | BVAR (b, name), make_number (0))); | 1670 | tem = do_yes_or_no_p (CALLN (Fformat, format, BVAR (b, name))); |
| 1671 | UNGCPRO; | 1671 | UNGCPRO; |
| 1672 | if (NILP (tem)) | 1672 | if (NILP (tem)) |
| 1673 | return unbind_to (count, Qnil); | 1673 | return unbind_to (count, Qnil); |