]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/fileio.c (Finsert_file_contents): Avoid compiler warning.
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Dec 2015 15:55:02 +0000 (17:55 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Dec 2015 15:55:02 +0000 (17:55 +0200)
src/fileio.c

index 210383ff77a6585bb1b8869e737e2fc4b1c0fb03..e18ddb1a7aa482a6ee7eafc1cf4442364a0c3a1a 100644 (file)
@@ -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));