commit 02085d7b92a4ddb0555f375ebc78a3e067fcfecf
parent 50af6ea21e6d3208951bea43cb40fe5ef2a706f0
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 7 Nov 2004 16:04:18 +0000
in the search prompt shortcut list, move "Full Justify" to after
"History", so that the latter is visible onscreen again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2080 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -171,6 +171,9 @@ CVS code -
- Leave "Mark Text" and "Where Is Next" out entirely when
NANO_SMALL is defined. Since they aren't in the visible main
list, there's no point in having them in but disabled. (DLR)
+ - In the search prompt shortcut list, move "Full Justify" to
+ after "History", so that the latter is visible onscreen
+ again. (DLR)
- nano.c:
die_save_file()
- Clarify the error message when there are too many backup files
diff --git a/src/global.c b/src/global.c
@@ -629,11 +629,6 @@ void shortcut_init(int unjustify)
sc_init_one(&whereis_list, NANO_PARAEND_KEY, end_of_par_msg,
IFHELP(nano_paraend_msg, NANO_PARAEND_ALTKEY1), NANO_NO_KEY,
NANO_PARAEND_ALTKEY2, VIEW, do_para_end);
-
- /* Translators: try to keep this string under 10 characters long */
- sc_init_one(&whereis_list, NANO_FULLJUSTIFY_KEY, fulljstify_msg,
- IFHELP(nano_fulljustify_msg, NANO_FULLJUSTIFY_ALTKEY),
- NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_full_justify);
#endif
#ifndef NANO_SMALL
@@ -658,6 +653,13 @@ void shortcut_init(int unjustify)
sc_init_one(&whereis_list, NANO_HISTORY_KEY, history_msg,
IFHELP(nano_editstr_msg, NANO_NO_KEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, 0);
+
+#ifndef DISABLE_JUSTIFY
+ /* Translators: try to keep this string under 10 characters long */
+ sc_init_one(&whereis_list, NANO_FULLJUSTIFY_KEY, fulljstify_msg,
+ IFHELP(nano_fulljustify_msg, NANO_FULLJUSTIFY_ALTKEY),
+ NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_full_justify);
+#endif
#endif /* !NANO_SMALL */
free_shortcutage(&replace_list);