changeset 45419:0b87d5e1301a

(read_char_minibuf_menu_prompt): Don't list equivalent key bindings here.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 May 2002 14:49:57 +0000
parents 8a2b953f3d6c
children e7b11902143a
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon May 20 14:13:11 2002 +0000
+++ b/src/keyboard.c	Mon May 20 14:49:57 2002 +0000
@@ -7727,12 +7727,14 @@
 		  if (! char_matches)
 		    desc = Fsingle_key_description (event, Qnil);
 
+#if 0  /* It is redundant to list the equivalent key bindings because
+	  the prefix is what the user has already typed.  */
 		  tem
 		    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_KEYEQ];
 		  if (!NILP (tem))
 		    /* Insert equivalent keybinding. */
 		    s = concat2 (s, tem);
-
+#endif
 		  tem
 		    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_TYPE];
 		  if (EQ (tem, QCradio) || EQ (tem, QCtoggle))