Issue332

classification
Title shouldn't substitute-command-keys remove duplicates?
Type Module
Severity Platform
Keywords
explanation
process
These optional controls are only of interest to committers and tracker administrators.
Status   Reason
Superseder   Submitted 2008-03-23.17:28:39
Priority   Assigned To
Nosy List stephen  

Created on 2008-03-23.22:20:08 by stephen, last changed 2008-03-23.22:20:08 by stephen.

Messages
msg642 [hidden] ([hidden]) Date: 2008-03-23.22:20:08
  Message-ID: <87ve3gez6v.fsf@uwakimon.sk.tsukuba.ac.jp>
Make a text for this:

Drew Adams writes:

 > Shouldn't substitute-command-keys remove duplicates?
 >  
 > If you explicitly bind a key to the same command in both a
 > keymap km
 > and its parent pkm, and then you call this, the binding is
 > written
 > twice:
 >  
 > (define-key km  "a" 'foo)
 > (define-key pkm "a" 'foo)
 >  
 > (substitute-command-keys "\\{km\\}")
 >  
 > key             binding
 > ---             -------
 >  
 > ...
 > a  foo
 > a  foo
History
Date User Action Args
2008-03-23 22:20:08stephencreate