diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core-commands.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core-commands.c b/src/core-commands.c index ae51ecc..287a9a3 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -2337,6 +2337,13 @@ teco_state_ecommand_eol(teco_machine_main_t *ctx, GError **error) undo__teco_interface_ssm(SCI_SETEOLMODE, teco_interface_ssm(SCI_GETEOLMODE, 0, 0), 0); teco_interface_ssm(SCI_SETEOLMODE, eol_mode, 0); + + /* + * While the buffer contents were not changed, + * the result of saving the file may differ, + * so we still dirtify the buffer. + */ + teco_ring_dirtify(); } else if (teco_machine_main_eval_colon(ctx) > 0) { const gchar *eol_seq = teco_eol_get_seq(teco_interface_ssm(SCI_GETEOLMODE, 0, 0)); teco_expressions_push(eol_seq); |