From: Paul Eggert Date: Sat, 19 Jan 2013 00:40:07 +0000 (-0800) Subject: * fileio.c (Finsert_file_contents): Simplify new diagnostic X-Git-Tag: emacs-24.3.90~173^2~7^2~273 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa705c9927b57158e8973cd950419a2ac0f72c53;p=emacs.git * fileio.c (Finsert_file_contents): Simplify new diagnostic and make it more consistent with other stat-failure diagnostics. --- diff --git a/src/ChangeLog b/src/ChangeLog index a7b8ab7855b..4cd417868a1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-19 Paul Eggert + + * fileio.c (Finsert_file_contents): Simplify new diagnostic + and make it more consistent with other stat-failure diagnostics. + 2013-01-18 Dmitry Antipov Fix crash when inserting data from non-regular files. See diff --git a/src/fileio.c b/src/fileio.c index 4c54fd822ae..bd845c2f1e0 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3574,8 +3574,7 @@ by calling `format-decode', which see. */) record_unwind_protect (close_file_unwind, make_number (fd)); if (fstat (fd, &st) != 0) - report_file_error ("Getting input file status", - Fcons (orig_filename, Qnil)); + report_file_error ("Input file status", Fcons (orig_filename, Qnil)); mtime = get_stat_mtime (&st); /* This code will need to be changed in order to work on named