[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 3842f1f: ; * src/fileio.c (Finsert_file_contents)
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 3842f1f: ; * src/fileio.c (Finsert_file_contents): Avoid compiler warning. |
Date: |
Mon, 14 Dec 2015 15:55:30 +0000 |
branch: emacs-25
commit 3842f1f40122df54b55856e5f51e38df21e897eb
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; * src/fileio.c (Finsert_file_contents): Avoid compiler warning.
---
src/fileio.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/fileio.c b/src/fileio.c
index 210383f..e18ddb1 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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 3842f1f: ; * src/fileio.c (Finsert_file_contents): Avoid compiler warning.,
Eli Zaretskii <=