From 6dc84a1c12501239ce3922bae71dbd8cf3c8042d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 30 Sep 2008 09:22:16 +0200 Subject: [PATCH] awful.prompt: fix history save Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index 4e10b0869..b85ac070a 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -162,7 +162,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his else if key == "Return" then textbox.text = "" - data.history_add(history_path, command) + history_add(history_path, command) exe_callback(command) if done_callback then done_callback() end return false