aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fc853f26673..7f65cf5aaea 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5156,9 +5156,9 @@ write_region (Lisp_Object start, Lisp_Object end, Lisp_Object filename,
5156 : ! NILP (append) 5156 : ! NILP (append)
5157 ? "Added to `%s' (%d characters)" 5157 ? "Added to `%s' (%d characters)"
5158 : "Wrote `%s' (%d characters)"); 5158 : "Wrote `%s' (%d characters)");
5159 CALLN (Fmessage, format, visit_file, 5159 EMACS_INT nchars = (STRINGP (start) ? SCHARS (start)
5160 (STRINGP (start) ? Flength (start) 5160 : XINT (end) - XINT (start));
5161 : make_number (XINT (end) - XINT (start)))); 5161 CALLN (Fmessage, format, visit_file, make_number (nchars));
5162 } 5162 }
5163 return Qnil; 5163 return Qnil;
5164} 5164}