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.
Showing with 9 additions and 1 deletion