summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index ef4c98d29b..1ae8e2db44 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -8698,7 +8698,7 @@ ins_esc(
* When recording or for CTRL-O, need to display the new mode.
* Otherwise remove the mode message.
*/
- if (Recording || restart_edit != NUL)
+ if (reg_recording != 0 || restart_edit != NUL)
showmode();
else if (p_smd)
MSG("");