]> code.delx.au - gnu-emacs-elpa/commit
Make ivy-completing-read handle history as cons
authorSamuel Loury <konubinixweb@gmail.com>
Wed, 18 Nov 2015 10:31:48 +0000 (11:31 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 18 Nov 2015 11:08:57 +0000 (12:08 +0100)
commitadac116cd79d26585263b90c4559fef8177c4a1c
tree2ee5c4885722bfd29e64d0e0e75dff73ccffd011
parent85bd44bc99f35a053900468d52025b2d185afc91
Make ivy-completing-read handle history as cons

The ivy-read function assumes that history is a symbol, hence
ivy-completing-read now makes sure that a symbol is given to
ivy-read.

Moreover, it makes sure that the value of initial-input is
coherent with the value of the HISTPOS part of the history
variable if it exists.

Fixes #295
ivy.el