emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/keyboard.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c
Date: Mon, 20 May 2002 10:49:57 -0400

Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.678 emacs/src/keyboard.c:1.679
*** emacs/src/keyboard.c:1.678  Mon May 20 04:05:55 2002
--- emacs/src/keyboard.c        Mon May 20 10:49:57 2002
***************
*** 7727,7738 ****
                  if (! char_matches)
                    desc = Fsingle_key_description (event, Qnil);
  
                  tem
                    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_KEYEQ];
                  if (!NILP (tem))
                    /* Insert equivalent keybinding. */
                    s = concat2 (s, tem);
! 
                  tem
                    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_TYPE];
                  if (EQ (tem, QCradio) || EQ (tem, QCtoggle))
--- 7727,7740 ----
                  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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]