diff --git a/ChangeLog b/ChangeLog
index ddea5d5ace90943441c7d8c697aad4a90c2437e2..699308120ce01c4b87bb0adbce4cdd604c923a80 100644
--- 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
index 9dff642a6a9a0a51a087a8e06744d7e9d4b1eb1f..b17b5ecbe7ccdff539513cd9fbe34e0cce32a075 100644
--- 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);