BufferCompleter: avoid modifying the buffer when not needed
This commit is contained in:
parent
33740d06ee
commit
39f9ca33c8
|
@ -632,7 +632,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
reset();
|
reset();
|
||||||
select(0);
|
setup_ifn();
|
||||||
}
|
}
|
||||||
|
|
||||||
void reset()
|
void reset()
|
||||||
|
@ -646,7 +646,7 @@ private:
|
||||||
if (opt.name() == "completions")
|
if (opt.name() == "completions")
|
||||||
{
|
{
|
||||||
reset();
|
reset();
|
||||||
select(0);
|
setup_ifn();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user