From 80c6249afe372b52f091bfdd401b1db18ab5a779 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 3 Apr 2014 23:59:10 +0100 Subject: [PATCH] make.kak: use %rec rather than :exec hack in errjump --- rc/make.kak | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rc/make.kak b/rc/make.kak index 963d0521..003d8d8d 100644 --- a/rc/make.kak +++ b/rc/make.kak @@ -27,8 +27,7 @@ def errjump -docstring 'Jump to error location' %{ try %{ exec gll "Entering directory" exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):[^\n]+\'" l - #edit "%reg{1}/%reg{2}" %reg{3} %reg{4} - exec :edit1/234 + edit %rec{%reg{1}/%reg{2}} %reg{3} %reg{4} } catch %{ exec ghgl s "([^:]+):(\d+):(\d+):[^\n]+\'" l edit %reg{1} %reg{2} %reg{3}