Including the history list makes no difference at all. The colors still appear in the original order.

(setq foo '("blue" "green" "red"))
(ido-completing-read "Pick: " '("red" "green" "blue") nil t nil 'foo)

What is the function of the history list then? Is there an alternative way to change the order of elements based on history, like smex?

有帮助吗?

解决方案

History list is used when we press up/down while in minibuffer. It doesn't change the order of elements.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top