From 138add24c811f2dc795531e7f3c7c0d6c84307b5 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 20 Mar 2015 12:22:49 +0000 Subject: [PATCH] Keeping related items together in the ^G help screen. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5143 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/global.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88aa5458..02bf897c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ one better. * src/text.c (do_undo): Make a message equal to another one. It was mistakenly changed in r4950. (This is translation-neutral.) + * src/global.c (shortcut_init): Keep related items together in the + ^G help screen. 2015-03-17 Benno Schulenberg * src/text.c (do_alt_speller): Do not set the modified flag when diff --git a/src/global.c b/src/global.c index 6f7fbb38..51b15ab8 100644 --- a/src/global.c +++ b/src/global.c @@ -735,9 +735,9 @@ void shortcut_init(void) #ifndef DISABLE_COLOR add_to_funcs(do_linter, MMAIN, - N_("To Linter"), IFSCHELP(nano_lint_msg), BLANKAFTER, NOVIEW); + N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW); add_to_funcs(do_formatter, MMAIN, - N_("Formatter"), IFSCHELP(nano_formatter_msg), TOGETHER, NOVIEW); + N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW); #endif #ifndef NANO_TINY -- 2.39.5