ivy mode minibuffer history corruption bug

By Xah Lee. Date: . Last updated: .

Found a problem with ivy mode. If you run repeat-complex-command, it bloats up your history like this:

ivy redo problem 2017 12 12 92325
ivy redo problem 2017-12-12. Blowing up minibuffer history. The line should be just “(xah-image-autocrop)”

in case you want to reproduce the bug:

The point of repeat-complex-command is that it allows you to call last command without answering prompt again.