Mercurial > emacs
changeset 49445:643eb4ccb3a3
(barf_or_query_if_file_exists): Call format2 instead of format1.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Jan 2003 19:48:59 +0000 |
parents | a80513b20297 |
children | 21086b629b21 |
files | src/fileio.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Sat Jan 25 19:48:30 2003 +0000 +++ b/src/fileio.c Sat Jan 25 19:48:59 2003 +0000 @@ -2323,8 +2323,8 @@ Fcons (build_string ("File already exists"), Fcons (absname, Qnil))); GCPRO1 (absname); - tem = format1 ("File %s already exists; %s anyway? ", - SDATA (absname), querystring); + tem = format2 ("File %s already exists; %s anyway? ", + absname, build_string (querystring)); if (quick) tem = Fy_or_n_p (tem); else