[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] help: tweak the descriptions of ^X and ^R
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] [PATCH] help: tweak the descriptions of ^X and ^R |
Date: |
Tue, 27 Feb 2018 18:15:52 +0100 |
It is not a problem to say that ^X closes the current buffer
even when nano is compiled without multibuffer support.
---
src/global.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/global.c b/src/global.c
index 7909bdbd..14cccb7f 100644
--- a/src/global.c
+++ b/src/global.c
@@ -517,16 +517,11 @@ void shortcut_init(void)
const char *cancel_gist = N_("Cancel the current function");
const char *help_gist = N_("Display this help text");
const char *exit_gist =
-#ifdef ENABLE_MULTIBUFFER
- N_("Close the current file buffer / Exit from nano")
-#else
- N_("Exit from nano")
-#endif
- ;
+ N_("Close the current buffer / Exit from nano");
const char *writeout_gist =
N_("Write the current buffer (or the marked region) to disk");
const char *readfile_gist =
- N_("Insert another file into the current one");
+ N_("Insert another file into current buffer (or into new
buffer)");
const char *whereis_gist =
N_("Search forward for a string or a regular expression");
const char *wherewas_gist =
--
2.16.2
- [Nano-devel] [PATCH] help: tweak the descriptions of ^X and ^R,
Benno Schulenberg <=