summaryrefslogtreecommitdiff
path: root/src/buffer_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer_manager.cc')
-rw-r--r--src/buffer_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer_manager.cc b/src/buffer_manager.cc
index 4894dc65..88ed99a5 100644
--- a/src/buffer_manager.cc
+++ b/src/buffer_manager.cc
@@ -95,8 +95,8 @@ void BufferManager::set_last_used_buffer(Buffer& buffer)
m_buffers.emplace(m_buffers.begin(), &buffer);
}
-CandidateList BufferManager::complete_buffername(const String& prefix,
- ByteCount cursor_pos)
+CandidateList BufferManager::complete_buffer_name(const String& prefix,
+ ByteCount cursor_pos)
{
String real_prefix = prefix.substr(0, cursor_pos);
const bool include_dirs = contains(real_prefix, '/');