From cbe85a18c7e433e1d937eba7e994329e4d81e9cc Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 25 Jan 2022 23:25:05 -0800 Subject: rename the custom big picture view to doc:main --- src/teliva.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/teliva.c b/src/teliva.c index b588829..8cb0a62 100644 --- a/src/teliva.c +++ b/src/teliva.c @@ -626,7 +626,8 @@ static int look_up_definition (lua_State* L, const char* name); extern int editProse(lua_State* L, char* filename); void big_picture_view(lua_State* L) { int oldtop = lua_gettop(L); - if (!look_up_definition(L, "doc:bp")) { + if (!look_up_definition(L, "doc:main")) { + lua_settop(L, oldtop); default_big_picture_view(L); } else { FILE* out = fopen("teliva_big_picture", "w"); -- cgit 1.4.1-2-gfad0