[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 b3277c7: Fix setting buffer unibyte when reading
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 b3277c7: Fix setting buffer unibyte when reading from a device |
Date: |
Fri, 11 Dec 2015 08:26:17 +0000 |
branch: emacs-25
commit b3277c7d3913ccedfac36c27ab657901e4f131b4
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix setting buffer unibyte when reading from a device
* src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
to make a (possibly non-empty) buffer unibyte. (Bug#22096)
---
src/fileio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/fileio.c b/src/fileio.c
index 6cda1e3..8e44eb0 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4265,7 +4265,7 @@ by calling `format-decode', which see. */)
&& NILP (replace))
/* Visiting a file with these coding system makes the buffer
unibyte. */
- bset_enable_multibyte_characters (current_buffer, Qnil);
+ 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 b3277c7: Fix setting buffer unibyte when reading from a device,
Eli Zaretskii <=