diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-05 17:43:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-05 17:43:31 +0100 |
commit | 2c7292dc5bbf155fe2192d417363b8c085759cad (patch) | |
tree | f0bd3af6f22baaf5453865aa9849194725edaab1 /src/buffer.c | |
parent | 214641f77df6f318a4b3a0b09723c19859a103f4 (diff) | |
download | vim-git-2c7292dc5bbf155fe2192d417363b8c085759cad.tar.gz |
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'v8.0.0420
Problem: When running :make the output may be in the system encoding,
different from 'encoding'.
Solution: Add the 'makeencoding' option. (Ken Takata)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 6edb48a6f..c25cb2f1a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2255,6 +2255,9 @@ free_buf_options( clear_string_option(&buf->b_p_lw); #endif clear_string_option(&buf->b_p_bkc); +#ifdef FEAT_MBYTE + clear_string_option(&buf->b_p_menc); +#endif } /* |