From d5f35fb611de7f6b8aaf67f7224fe291273802e8 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Fri, 8 Nov 2013 19:14:47 +0100 Subject: [PATCH] Remove global interactive flag Was probably once used to enter a debug mode. Since that's no more, axe the variable. Signed-off-by: Tobias Ulmer --- generic/e2lib.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 013c492..b4bcebb 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -58,13 +58,6 @@ local eio = require("eio") local le2lib = require("le2lib") local trace = require("trace") --- Module-level global variables --- --- globals.interactive -> BOOL --- --- True, when lua was started in interactive mode (either by giving --- the "-i" option or by starting lua and loading the e2 files --- manually). local global_config = false e2lib.globals = { @@ -77,7 +70,6 @@ e2lib.globals = { log_debug = false, debug = false, playground = false, - interactive = arg and (arg[ -1 ] == "-i"), -- variables initialized in init() username = nil, homedir = nil, -- 2.39.5