rc comment: fix comment-block regression from "Select pasted text on paste"

Fixes #4665
This commit is contained in:
Johannes Altmanninger 2022-07-10 17:21:44 +02:00
parent ce75867e44
commit b6afd5dbd6

View File

@ -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
}