Closed noctuid closed 5 years ago
@abo-abo
Thanks, but I wanted to make this a bit more extensible; also I want avy--process
to have only one arg in the future.
You can now let-bind avy-pre-action
to do what you want. Please test.
Thanks! It might be a little nicer if there was a (when avy-pre-action...
check, so that it could be set to nil instead of (lambda ())
or 'ignore
.
I think 'ignore
is a better way to go. This way, avy-pre-action
has a more consistent "type".
This argument is necessary for avy--process to be usable by ivy-posframe. When using ivy-posframe, the call to select-frame-set-input-focus deselects the minibuffer, causes the ivy cleanup function to run prematurely, and causes Emacs to hang.
Addresses tumashu/ivy-posframe#6.
Based on the on the linked page, this should not be a legally significant change.