General refactor & cleanup

This commit is contained in:
Henrik Lissner 2017-09-15 14:35:18 +02:00
parent 9f6b90cf13
commit 91783e0695
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 11 additions and 14 deletions

View file

@ -10,9 +10,8 @@
face to render it with.")
(defmacro +ivy-do-action! (action)
"A factory function that returns an interactive lamba that sets the current
ivy action and immediately runs it on the current candidate (ending the ivy
session)."
"Returns an interactive lambda that sets the current ivy action and
immediately runs it on the current candidate (ending the ivy session)."
`(lambda ()
(interactive)
(ivy-set-action ,action)