diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-12-14 17:55:02 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-12-14 17:55:02 +0200 |
commit | 3842f1f40122df54b55856e5f51e38df21e897eb (patch) | |
tree | 9c9f9c7f87396a55ff4deee1010461af194efda0 /src/fileio.c | |
parent | c8d3759f90416b17c5d9ceca37a7946e555a8dc0 (diff) | |
download | emacs-3842f1f40122df54b55856e5f51e38df21e897eb.tar.gz emacs-3842f1f40122df54b55856e5f51e38df21e897eb.tar.bz2 emacs-3842f1f40122df54b55856e5f51e38df21e897eb.zip |
; * src/fileio.c (Finsert_file_contents): Avoid compiler warning.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 210383ff77a..e18ddb1a7aa 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4263,12 +4263,14 @@ by calling `format-decode', which see. */) if (CODING_FOR_UNIBYTE (&coding) /* Can't do this if part of the buffer might be preserved. */ && NILP (replace)) - /* Visiting a file with these coding system makes the buffer - unibyte. */ - if (inserted > 0) - bset_enable_multibyte_characters (current_buffer, Qnil); - else - Fset_buffer_multibyte (Qnil); + { + /* Visiting a file with these coding system makes the buffer + unibyte. */ + if (inserted > 0) + bset_enable_multibyte_characters (current_buffer, Qnil); + else + Fset_buffer_multibyte (Qnil); + } } coding.dst_multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); |