0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2016-02-27 18:13:23 +01:00
parent 4d1961783f
commit 85b11769ab
30 changed files with 26 additions and 1646 deletions

View File

@@ -296,9 +296,6 @@ static void ex_popup(exarg_T *eap);
# define ex_rubydo ex_ni
# define ex_rubyfile ex_ni
#endif
#ifndef FEAT_SNIFF
# define ex_sniff ex_ni
#endif
#ifndef FEAT_KEYMAP
# define ex_loadkeymap ex_ni
#endif
@@ -641,9 +638,6 @@ do_exmode(
/* Ignore scrollbar and mouse events in Ex mode */
++hold_gui_events;
#endif
#ifdef FEAT_SNIFF
want_sniff_request = 0; /* No K_SNIFF wanted */
#endif
MSG(_("Entering Ex mode. Type \"visual\" to go to Normal mode."));
while (exmode_active)
@@ -661,9 +655,6 @@ do_exmode(
changedtick = curbuf->b_changedtick;
prev_msg_row = msg_row;
prev_line = curwin->w_cursor.lnum;
#ifdef FEAT_SNIFF
ProcessSniffRequests();
#endif
if (improved)
{
cmdline_row = msg_row;