diff --git a/ChangeLog b/ChangeLog
index b6825ed862b2d25b8560641b2a5967dc11f8d591..4524b33b48e8207dc2fc91db70c6dd7d0e31e98e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
 	some wrappings and whitespace.
 	* src/proto.h: Delete two duplicate declarations.
 	* src/rcfile.c (check_bad_binding): Elide this unneeded function.
+	* src/rcfile.c (parse_binding): Show key only when it was rebound.
 
 2016-01-13  Benno Schulenberg  <bensberg@justemail.net>
 	* src/files.c (save_poshistory): Reduce the indentation.
diff --git a/src/rcfile.c b/src/rcfile.c
index b4c1a29abc4a4a1031d2e3a0284eabda4bcccba9..7223cba5daa05be3420d3421283f4bfeac4c5127 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -525,10 +525,6 @@ void parse_binding(char *ptr, bool dobind)
 	newsc->menus = menu;
 	newsc->type = strtokeytype(newsc->keystr);
 	assign_keyinfo(newsc);
-#ifdef DEBUG
-	fprintf(stderr, "s->keystr = \"%s\"\n", newsc->keystr);
-	fprintf(stderr, "s->seq = \"%d\"\n", newsc->seq);
-#endif
 
 	/* Do not allow rebinding the equivalent of the Escape key. */
 	if (newsc->type == META && newsc->seq == 91) {
@@ -536,6 +532,10 @@ void parse_binding(char *ptr, bool dobind)
 	    free(newsc);
 	    goto free_copy;
 	}
+#ifdef DEBUG
+	fprintf(stderr, "s->keystr = \"%s\"\n", newsc->keystr);
+	fprintf(stderr, "s->seq = \"%d\"\n", newsc->seq);
+#endif
     }
 
     /* Now find and delete any existing same shortcut in the menu(s). */