aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2015-12-14 17:55:02 +0200
committerEli Zaretskii2015-12-14 17:55:02 +0200
commit3842f1f40122df54b55856e5f51e38df21e897eb (patch)
tree9c9f9c7f87396a55ff4deee1010461af194efda0 /src
parentc8d3759f90416b17c5d9ceca37a7946e555a8dc0 (diff)
downloademacs-3842f1f40122df54b55856e5f51e38df21e897eb.tar.gz
emacs-3842f1f40122df54b55856e5f51e38df21e897eb.zip
; * src/fileio.c (Finsert_file_contents): Avoid compiler warning.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c14
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. */)
4263 if (CODING_FOR_UNIBYTE (&coding) 4263 if (CODING_FOR_UNIBYTE (&coding)
4264 /* Can't do this if part of the buffer might be preserved. */ 4264 /* Can't do this if part of the buffer might be preserved. */
4265 && NILP (replace)) 4265 && NILP (replace))
4266 /* Visiting a file with these coding system makes the buffer 4266 {
4267 unibyte. */ 4267 /* Visiting a file with these coding system makes the buffer
4268 if (inserted > 0) 4268 unibyte. */
4269 bset_enable_multibyte_characters (current_buffer, Qnil); 4269 if (inserted > 0)
4270 else 4270 bset_enable_multibyte_characters (current_buffer, Qnil);
4271 Fset_buffer_multibyte (Qnil); 4271 else
4272 Fset_buffer_multibyte (Qnil);
4273 }
4272 } 4274 }
4273 4275
4274 coding.dst_multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); 4276 coding.dst_multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters));