summaryrefslogtreecommitdiff
path: root/src/buffer_utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer_utils.hh')
-rw-r--r--src/buffer_utils.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh
index baf47890..3851ee65 100644
--- a/src/buffer_utils.hh
+++ b/src/buffer_utils.hh
@@ -31,8 +31,9 @@ ByteCount get_byte_to_column(const Buffer& buffer, CharCount tabstop,
CharCoord coord);
Buffer* create_fifo_buffer(String name, int fd, bool scroll = false);
-Buffer* create_file_buffer(StringView filename);
-bool reload_file_buffer(Buffer& buffer);
+Buffer* open_file_buffer(StringView filename);
+Buffer* open_or_create_file_buffer(StringView filename);
+void reload_file_buffer(Buffer& buffer);
void write_to_debug_buffer(StringView str);