From b6afd5dbd6ed2eac38aa1376629ccd72d7c10416 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 10 Jul 2022 17:21:44 +0200 Subject: [PATCH] rc comment: fix comment-block regression from "Select pasted text on paste" Fixes #4665 --- rc/tools/comment.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/comment.kak b/rc/tools/comment.kak index 803a96fe..5730be86 100644 --- a/rc/tools/comment.kak +++ b/rc/tools/comment.kak @@ -162,7 +162,7 @@ define-command comment-block -docstring '(un)comment selections using block comm } catch %{ # Comment the selection set-register '"' "%opt{comment_block_begin}" - execute-keys P + execute-keys -draft P set-register '"' "%opt{comment_block_end}" execute-keys p }