diff options
| author | Kenichi Handa | 1998-07-03 04:33:12 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-07-03 04:33:12 +0000 |
| commit | e921460071f687c0b7c40b76e9e94af5e260fbab (patch) | |
| tree | c0293480ac51cbbcddfc0e92a1b43db3245df1b4 /src | |
| parent | 65f64d008a5c401fed4934a2318dfacb7f164d61 (diff) | |
| download | emacs-e921460071f687c0b7c40b76e9e94af5e260fbab.tar.gz emacs-e921460071f687c0b7c40b76e9e94af5e260fbab.zip | |
(Finsert_file_contents): Do not set Vlast_coding_system
if inserted bytes is zero.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index f4bcf1bf775..05350aa2d4c 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -4117,7 +4117,7 @@ actually used.") | |||
| 4117 | && (NILP (visit) || !NILP (replace))) | 4117 | && (NILP (visit) || !NILP (replace))) |
| 4118 | signal_after_change (PT, 0, inserted); | 4118 | signal_after_change (PT, 0, inserted); |
| 4119 | 4119 | ||
| 4120 | if (set_coding_system) | 4120 | if (set_coding_system && inserted > 0) |
| 4121 | Vlast_coding_system_used = coding.symbol; | 4121 | Vlast_coding_system_used = coding.symbol; |
| 4122 | 4122 | ||
| 4123 | if (inserted > 0) | 4123 | if (inserted > 0) |