0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0183

This commit is contained in:
Bram Moolenaar
2006-01-20 23:02:51 +00:00
parent 8ada17c4d9
commit 2d3f489e09
10 changed files with 129 additions and 54 deletions

View File

@@ -789,11 +789,11 @@ getcount:
goto normal_end;
}
if (editing_cmdline() && (nv_cmds[idx].cmd_flags & NV_NCW))
if (text_locked() && (nv_cmds[idx].cmd_flags & NV_NCW))
{
/* This command is not allowed wile editing a ccmdline: beep. */
clearopbeep(oap);
editing_cmdline_msg();
text_locked_msg();
goto normal_end;
}
@@ -5741,10 +5741,10 @@ nv_gotofile(cap)
{
char_u *ptr;
if (editing_cmdline())
if (text_locked())
{
clearopbeep(cap->oap);
editing_cmdline_msg();
text_locked_msg();
return;
}
@@ -7801,10 +7801,10 @@ nv_g_cmd(cap)
/* "gQ": improved Ex mode */
case 'Q':
if (editing_cmdline())
if (text_locked())
{
clearopbeep(cap->oap);
editing_cmdline_msg();
text_locked_msg();
break;
}