]> code.delx.au - gnu-emacs-elpa/commit
Simplify the ivy-format-function interface
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 27 Feb 2016 07:53:57 +0000 (08:53 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 27 Feb 2016 07:56:26 +0000 (08:56 +0100)
commitf647bcad6e7504c2ce1bdeee46200facccc9a7a5
tree688d2cbb463fd5acd153dda89bfa868cb0b55271
parentea79f0e487ef444f0d01b7498fcb25de6f5d0d3a
Simplify the ivy-format-function interface

* ivy.el (ivy--format-function-generic): Third arg is no longer a list
  of cons cells, but a list of strings instead.
(ivy-format-function-default):
(ivy-format-function-arrow):
(ivy-format-function-line): Take a string instead of a cons cell.
(ivy--format): Feed strings instead of cons cells to
`ivy-format-function'.

* ivy-test.el (ivy--format): Update test.

* counsel.el (counsel--yank-pop-format-function): Take a string instead
  of a cons cell.

Re #399
counsel.el
ivy-test.el
ivy.el