From ee0e640384d001f7b3f9c48eff157ee8ad37d4b6 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 26 Mar 2013 19:28:44 +0100 Subject: [PATCH] kak_bufname env var use display_name --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 946bd0c4..d5b1a40b 100644 --- a/src/main.cc +++ b/src/main.cc @@ -685,7 +685,7 @@ void register_env_vars() shell_manager.register_env_var("bufname", [](const String& name, const Context& context) - { return context.buffer().name(); }); + { return context.buffer().display_name(); }); shell_manager.register_env_var("timestamp", [](const String& name, const Context& context) { return int_to_str(context.buffer().timestamp()); });