[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e6171e2 098/184: ivy-hydra.el (ivy-dispatching-done-hydra)
From: |
Oleh Krehel |
Subject: |
[elpa] master e6171e2 098/184: ivy-hydra.el (ivy-dispatching-done-hydra): Fix for ivy-resume |
Date: |
Wed, 16 Oct 2019 13:14:59 -0400 (EDT) |
branch: master
commit e6171e212de15a9ea32f6bcdbe5f2d42bcfae1f8
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy-hydra.el (ivy-dispatching-done-hydra): Fix for ivy-resume
Modify the action list non-destructively, by just chaning the initial
index. This way, when `ivy-resume' is called, the action list has the
same functions.
Fixes #2195
---
ivy-hydra.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ivy-hydra.el b/ivy-hydra.el
index 1d586ee..3783d67 100644
--- a/ivy-hydra.el
+++ b/ivy-hydra.el
@@ -108,7 +108,8 @@ _h_ ^+^ _l_ | _d_one ^ ^ | _o_ops | _M_: matcher
%-5s(ivy--matcher-desc)
(estimated-len (length doc))
(n-columns (if (> estimated-len (window-width))
ivy-dispatching-done-columns
- nil)))
+ nil))
+ (i 0))
(if (null (ivy--actionp actions))
(ivy-done)
(funcall
@@ -118,7 +119,7 @@ _h_ ^+^ _l_ | _d_one ^ ^ | _o_ops | _M_: matcher
%-5s(ivy--matcher-desc)
,@(mapcar (lambda (x)
(list (nth 0 x)
`(progn
- (ivy-set-action ',(nth 1 x))
+ (setcar (ivy-state-action ivy-last) ,(cl-incf
i))
(ivy-done))
(nth 2 x)))
(cdr actions))
- [elpa] master 3256447 076/184: ivy.el (ivy--partial-cd-for-single-directory): Extract, (continued)
- [elpa] master 3256447 076/184: ivy.el (ivy--partial-cd-for-single-directory): Extract, Oleh Krehel, 2019/10/16
- [elpa] master 03b3f82 075/184: ivy.el (ivy-partial): Use ivy--filter in place of all-completions, Oleh Krehel, 2019/10/16
- [elpa] master daf4683 081/184: ivy.el (ivy--directory-done): Inhibit distracting TRAMP message for /sudo::, Oleh Krehel, 2019/10/16
- [elpa] master 9e03f36 095/184: ivy-test.el: Turn two tests back on, Oleh Krehel, 2019/10/16
- [elpa] master 4b7b075 093/184: ivy-test.el (ivy-test-inhibit-message): Add, Oleh Krehel, 2019/10/16
- [elpa] master 967d046 091/184: ivy-test.el (counsel-yank-pop): Fix on Windows, Oleh Krehel, 2019/10/16
- [elpa] master cfbf481 089/184: Lazy load ffap, Oleh Krehel, 2019/10/16
- [elpa] master 464875a 103/184: counsel.el (counsel-mark-ring): Refactor for reducing nested let, Oleh Krehel, 2019/10/16
- [elpa] master 0c1901e 100/184: ivy.el (ivy--regex-ignore-order): Fix docstring, Oleh Krehel, 2019/10/16
- [elpa] master 6905e6c 097/184: counsel.el (counsel--rg-targets): Adjust for ivy-occur buffers, Oleh Krehel, 2019/10/16
- [elpa] master e6171e2 098/184: ivy-hydra.el (ivy-dispatching-done-hydra): Fix for ivy-resume,
Oleh Krehel <=
- [elpa] master 943eb01 108/184: counsel.el (counsel-mark-ring): Goto actual point instead of line, Oleh Krehel, 2019/10/16
- [elpa] master 36045f7 003/184: doc/Changelog.org: Fixup, Oleh Krehel, 2019/10/16
- [elpa] master 4389a26 056/184: ivy-overlay.el (ivy-overlay-show-after): Check window height better, Oleh Krehel, 2019/10/16
- [elpa] master 1332ab0 068/184: counsel.el (counsel-compile-env-pattern): Fix regex typo, Oleh Krehel, 2019/10/16
- [elpa] master beb3aee 080/184: ivy.el (ivy--directory-done): Handle "/ C-j" on remote, Oleh Krehel, 2019/10/16
- [elpa] master e62e7de 090/184: ivy-test.el (ivy-test-run-tests): Fix, Oleh Krehel, 2019/10/16
- [elpa] master 73d9f4a 083/184: Place cursor at the begging of matches (for grep), Oleh Krehel, 2019/10/16
- [elpa] master 361cf87 070/184: ivy-test.el (counsel-find-file-with-dollars): Remove, Oleh Krehel, 2019/10/16
- [elpa] master 7cca04a 088/184: doc/ivy.org: Document the marking feature, Oleh Krehel, 2019/10/16
- [elpa] master 3be5e78 084/184: counsel.el (counsel-git-grep-action): Check re-search-forward, Oleh Krehel, 2019/10/16