From cad5f37efd4d4178d0f6942df063074e9ab7e686 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 15 May 2018 21:33:54 +1000 Subject: [PATCH] Fix register saving post -save-regs behaviour change --- rc/core/c-family.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 1b1402f3..9cdd5c49 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -80,7 +80,7 @@ define-command -hidden c-family-insert-on-closing-curly-brace %[ define-command -hidden c-family-insert-on-newline %[ evaluate-commands -itersel -draft %[ execute-keys \; try %[ - evaluate-commands -draft %[ + evaluate-commands -draft -save-regs '/"' %[ # copy the commenting prefix execute-keys -save-regs '' k 1s^\h*(//+\h*) y try %[