Fix history adding in ido-read-internal
authorLeo Liu <sdl.web@gmail.com>
Mon, 21 Mar 2011 17:48:36 +0000 (01:48 +0800)
committerLeo Liu <sdl.web@gmail.com>
Mon, 21 Mar 2011 17:48:36 +0000 (01:48 +0800)
commitaf896da66a50ca020c8cb8293c4bf5ddfb0cb448
tree415164243e8ab205d4ac02b14f1e6c61efad4590
parent78f64af0ae54388453ad80171e6a1691818299af
Fix history adding in ido-read-internal

Assume, for example, the head of matches is "RSS" and user input is
"rs". If the user hit RET, "RSS" is selected but "rs" is added to the
history. This commit fixes this inconsistency.
lisp/ChangeLog
lisp/ido.el