BufferCompleter: avoid modifying the buffer when not needed

This commit is contained in:
Maxime Coste 2013-05-03 18:28:27 +02:00
parent 33740d06ee
commit 39f9ca33c8

View File

@ -632,7 +632,7 @@ public:
}
}
reset();
select(0);
setup_ifn();
}
void reset()
@ -646,7 +646,7 @@ private:
if (opt.name() == "completions")
{
reset();
select(0);
setup_ifn();
}
}