[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nano-devel
Subject:    [Nano-devel] [PATCH] help: for ^R^X, mention that the buffer can be piped to the command
From:       Benno Schulenberg <bensberg () telfort ! nl>
Date:       2018-08-26 11:42:55
Message-ID: 20180826114255.8509-1-bensberg () telfort ! nl
[Download RAW message or body]

---
 src/help.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/help.c b/src/help.c
index 0d024e5f..cd72c605 100644
--- a/src/help.c
+++ b/src/help.c
@@ -414,11 +414,13 @@ void help_init(void)
 		htx[0] = N_("Execute Command Help Text\n\n "
 				"This mode allows you to insert the output of a "
 				"command run by the shell into the current buffer (or "
-				"a new buffer in multiple file buffer mode).  If you "
-				"need another blank buffer, do not enter any "
+				"into a new buffer).  If the command is preceded by the "
+				"pipe symbol (|), the current contents of the buffer "
+				"(or of the marked region, if anything is marked) will "
+				"be piped to the command.  ");
+		htx[1] = N_("If you just need another blank buffer, do not enter any "
 				"command.\n\n The following function keys are "
 				"available in Execute Command mode:\n\n");
-		htx[1] = NULL;
 		htx[2] = NULL;
 	}
 #endif /* !NANO_TINY */
-- 
2.17.1


_______________________________________________
Nano-devel mailing list
Nano-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/nano-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic