From c8e078b1bff5d1d1aae1055dcdac2e7cc7d62e30 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 9 Nov 2015 18:37:47 +0100 Subject: [PATCH] doc: fix example with awful.prompt.run hooks It should return `command` for it to be executed. --- lib/awful/prompt.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/prompt.lua b/lib/awful/prompt.lua index 9c16dc960..7223af95b 100644 --- a/lib/awful/prompt.lua +++ b/lib/awful/prompt.lua @@ -243,6 +243,7 @@ end -- if command:sub(1,1) == ":" then -- return terminal .. ' -e ' .. command:sub(2) -- end +-- return command -- end} -- } -- @param textbox The textbox to use for the prompt.