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/ui.c | |
parent | 4d1961783fdcb133b6b181acb7166b9f1872bf09 (diff) | |
download | vim-85b11769ab507c7df93f319fd964fa579701b76b.zip |
patch 7.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/ui.c')
-rw-r--r-- | src/ui.c | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -1627,7 +1627,7 @@ set_input_buf(char_u *p) #if defined(FEAT_GUI) \ || defined(FEAT_MOUSE_GPM) || defined(FEAT_SYSMOUSE) \ || defined(FEAT_XCLIPBOARD) || defined(VMS) \ - || defined(FEAT_SNIFF) || defined(FEAT_CLIENTSERVER) \ + || defined(FEAT_CLIENTSERVER) \ || defined(PROTO) /* * Add the given bytes to the input buffer @@ -1772,17 +1772,7 @@ fill_input_buf(int exit_on_error UNUSED) inbufcount = 0; # else -# ifdef FEAT_SNIFF - if (sniff_request_waiting) - { - add_to_input_buf((char_u *)"\233sniff",6); /* results in K_SNIFF */ - sniff_request_waiting = 0; - want_sniff_request = 0; - return; - } -# endif - -# ifdef FEAT_MBYTE +# ifdef FEAT_MBYTE if (rest != NULL) { /* Use remainder of previous call, starts with an invalid character @@ -1806,7 +1796,7 @@ fill_input_buf(int exit_on_error UNUSED) } else unconverted = 0; -#endif +# endif len = 0; /* to avoid gcc warning */ for (try = 0; try < 100; ++try) |