From ff78f4a41da82fc327104ebff8e29956450668f3 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 22 Jan 2017 07:59:25 -0500 Subject: [PATCH] porting-tip: Mitigate a bug in the discount MarkDown parser. Some `+` and `-` were missing because it re-indented the content based on the first code line. It then truncated whatever was below. Pushing this to master because Ubuntu/Z, Debian/Sid and Arch just upgraded to 4.0 and angry reports are coming in *fast*. --- docs/17-porting-tips.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/17-porting-tips.md b/docs/17-porting-tips.md index ede354c2..e990176e 100644 --- a/docs/17-porting-tips.md +++ b/docs/17-porting-tips.md @@ -231,14 +231,14 @@ previously removed are replaced by custom screens attributes. Another dynamic screen related changes. - -- Prompt + ⠀-- Prompt - awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end), + awful.key({ modkey }, "r", function () `awful.screen.focused`().mypromptbox:run() end), `awful.prompt` now uses a more future proof arguments table instead of many optional arguments. - awful.key({ modkey }, "x", + ⠀ awful.key({ modkey }, "x", function () - `awful.prompt.run`({ prompt = "Run Lua code: " }, - mypromptbox[mouse.screen].widget,