From 329b215494ed1d3a294a134ecc39dda3e5256e82 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 29 Jul 2022 20:26:43 +0200 Subject: [PATCH] rc man: hide helper command "man-search" This undocumented command is only used to share logic between the various man-link-* commands. Let's hide it to avoid confusion. --- rc/tools/man.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tools/man.kak b/rc/tools/man.kak index facfaedf..ed85ce2a 100644 --- a/rc/tools/man.kak +++ b/rc/tools/man.kak @@ -107,7 +107,7 @@ declare-option -hidden regex man_link2 \ # Define a useful command sequence for searching a given regex # and a given sequence of search keys. -define-command man-search -params 2 %{ +define-command -hidden man-search -params 2 %{ set-register / %arg[1] try %{ execute-keys %arg[2]