nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] [PATCH] help: for ^R^X, mention that the buffer can be pipe


From: Benno Schulenberg
Subject: [Nano-devel] [PATCH] help: for ^R^X, mention that the buffer can be piped to the command
Date: Sun, 26 Aug 2018 13:42:55 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]