From 3b8c8988806615f43d14d0b338e3b9394d17850f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@telfort.nl> Date: Thu, 22 Feb 2018 19:52:27 +0100 Subject: [PATCH] help: tweak the descriptions of ^X and ^R 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 = -- GitLab