diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 18:13:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 18:13:23 +0100 |
commit | 85b11769ab507c7df93f319fd964fa579701b76b (patch) | |
tree | b4fdc6eb96c888e12159a007610a3d2cbab3f31c /src/ex_cmds2.c | |
parent | 4d1961783fdcb133b6b181acb7166b9f1872bf09 (diff) | |
download | vim-git-85b11769ab507c7df93f319fd964fa579701b76b.tar.gz |
patch 7.4.1433v7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been
available for may years.
Solution: Delete the Sniff interface and related code.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 3f8c50816..88257ccdd 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -131,9 +131,6 @@ do_debug(char_u *cmd) redir_off = TRUE; /* don't redirect debug commands */ State = NORMAL; -#ifdef FEAT_SNIFF - want_sniff_request = 0; /* No K_SNIFF wanted */ -#endif if (!debug_did_msg) MSG(_("Entering Debug mode. Type \"cont\" to continue.")); @@ -151,9 +148,7 @@ do_debug(char_u *cmd) { msg_scroll = TRUE; need_wait_return = FALSE; -#ifdef FEAT_SNIFF - ProcessSniffRequests(); -#endif + /* Save the current typeahead buffer and replace it with an empty one. * This makes sure we get input from the user here and don't interfere * with the commands being executed. Reset "ex_normal_busy" to avoid |