commit 138add24c811f2dc795531e7f3c7c0d6c84307b5
parent 532d55c8bd549c613e18f1c28290cf14de34fa7b
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 20 Mar 2015 12:22:49 +0000
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
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git 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 <bensberg@justemail.net>
* src/text.c (do_alt_speller): Do not set the modified flag when
diff --git 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