]> git.wh0rd.org Git - nano.git/commitdiff
Allowing M-J (full-justify) after being configured with --enable-justify.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 7 Apr 2014 09:44:52 +0000 (09:44 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Mon, 7 Apr 2014 09:44:52 +0000 (09:44 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4741 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index 2611d9694557b106b4c91eeb48bb4454d809bb68..4cfd46ab75ad8477e8317031635cee0310b1bdfa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        returns and which shortcut_init() "sneakily" sets.
        * src/{proto.h,files.c,global.c,nano.c,rcfile.c}: Drop the obsolete
        argument of shortcut_init(), and remove two unneeded calls of it.
+       * src/global.c (shortcut_init): Allow M-J after an --enable-justify.
 
 2014-04-06  Benno Schulenberg  <bensberg@justemail.net>
        * src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to
index e074bef0ef27f753b4408bbfda5e6c598fee130b..deb93ae00dcd42a8dc6d0c9337349ebe5c84954a 100644 (file)
@@ -1217,9 +1217,11 @@ void shortcut_init(void)
     add_to_sclist(MALL, "M-V", do_verbatim_input, 0, TRUE);
 #ifndef NANO_TINY
     add_to_sclist(MMAIN, "M-T", do_cut_till_end, 0, TRUE);
+#endif
 #ifndef DISABLE_JUSTIFY
     add_to_sclist(MMAIN|MWHEREIS, "M-J", do_full_justify, 0, TRUE);
 #endif
+#ifndef NANO_TINY
     add_to_sclist(MMAIN, "M-D", do_wordlinechar_count, 0, TRUE);
 
     add_to_sclist(MMAIN, "M-X", do_toggle_void, NO_HELP, TRUE);