refactor: Remove allow_keys global (#6346)

* The allow_keys global is unused in nvim, remove it

* clint
This commit is contained in:
Matthew Malcomson
2017-03-25 14:43:19 +00:00
committed by Justin M. Keyes
parent 0cd829161a
commit 098e91400e
11 changed files with 74 additions and 117 deletions

View File

@@ -3577,11 +3577,9 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout)
ui_cursor_goto(msg_row, msg_col);
RedrawingDisabled = temp;
++no_mapping; /* don't map this key */
++allow_keys; /* allow special keys */
no_mapping++; // don't map this key
typed = plain_vgetc();
--allow_keys;
--no_mapping;
no_mapping--;
/* clear the question */
msg_didout = FALSE; /* don't scroll up */