summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted.c b/ted.c
index 8b6c657..325755f 100644
--- a/ted.c
+++ b/ted.c
@@ -101,7 +101,7 @@ static void ted_load_fonts(Ted *ted) {
// sets the active buffer to this buffer, and updates active_node, etc. accordingly
// you can pass NULL to buffer to make it so no buffer is active.
-static void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
+void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
ted->active_buffer = buffer;
if (ted->find) find_update(ted, true);