summaryrefslogtreecommitdiff
path: root/src/commands.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-29 07:43:20 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-29 07:43:20 +0100
commiteb2984807c384802139ab29e8eafc8ca324a2fcb (patch)
treef2cb262676fc416b40c0f62701dc60ec7268e562 /src/commands.cc
parente95fab0e7a97a40e462a1117740326606b629be6 (diff)
Remove some dead code
Diffstat (limited to 'src/commands.cc')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 4cb4dc90..bf92a628 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -168,7 +168,7 @@ static Completions complete_command_name(const Context& context, CompletionFlags
const String& prefix, ByteCount cursor_pos)
{
return CommandManager::instance().complete_command_name(
- context, prefix.substr(0, cursor_pos), false);
+ context, prefix.substr(0, cursor_pos));
}