[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 966525c 118/184: counsel.el (counsel-cd): Fix for counsel-
From: |
Oleh Krehel |
Subject: |
[elpa] master 966525c 118/184: counsel.el (counsel-cd): Fix for counsel-ag |
Date: |
Wed, 16 Oct 2019 13:15:03 -0400 (EDT) |
branch: master
commit 966525c94d0362a41a37c6427ef90100e871a257
Author: Hong Xu <address@hidden>
Commit: Oleh Krehel <address@hidden>
counsel.el (counsel-cd): Fix for counsel-ag
Fix (completely broken) `counsel-cd' for `counsel-ag'.
Re #2261
---
counsel.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/counsel.el b/counsel.el
index 933dd33..782a801 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2844,8 +2844,7 @@ CALLER is passed to `ivy-read'."
(let ((input ivy-text)
(new-dir (read-directory-name "cd: ")))
(ivy-quit-and-run
- (let ((default-directory new-dir))
- (funcall (ivy-state-caller ivy-last) input)))))
+ (funcall (ivy-state-caller ivy-last) input new-dir))))
(cl-pushnew 'counsel-ag ivy-highlight-grep-commands)
- [elpa] master 52295c4 137/184: swiper.el (swiper-isearch): Fix searching for "$^", (continued)
- [elpa] master 52295c4 137/184: swiper.el (swiper-isearch): Fix searching for "$^", Oleh Krehel, 2019/10/16
- [elpa] master 80c2669 142/184: ivy.el (ivy--alist-set): Work-around emacs-24.3 not having alist-get, Oleh Krehel, 2019/10/16
- [elpa] master 8b07572 149/184: ivy.el (ivy-configure): Add :display-transformer-fn, Oleh Krehel, 2019/10/16
- [elpa] master 9da8003 158/184: counsel.el (counsel-M-x): Don't sort by default, Oleh Krehel, 2019/10/16
- [elpa] master 8f08f38 155/184: counsel.el (counsel--grep-last-pos): Refactor from counsel-grep-last-line, Oleh Krehel, 2019/10/16
- [elpa] master 6b40d40 156/184: ivy.el (ivy--occur-press-update-window): Re-use ivy-highlight-grep-commands, Oleh Krehel, 2019/10/16
- [elpa] master 2ed4416 165/184: ivy.el (ivy-configure): Add :exit-codes, Oleh Krehel, 2019/10/16
- [elpa] master 2ce5450 177/184: counsel.el (counsel-find-file): Bind "M-o R" to find-file-read-only, Oleh Krehel, 2019/10/16
- [elpa] master c82b852 174/184: ivy.el (ivy-occur-revert-buffer): Simplify, Oleh Krehel, 2019/10/16
- [elpa] master 8bc23e6 104/184: counsel.el (counsel-compile): delete duplicates, Oleh Krehel, 2019/10/16
- [elpa] master 966525c 118/184: counsel.el (counsel-cd): Fix for counsel-ag,
Oleh Krehel <=
- [elpa] master f628569 127/184: Make ivy--magic-file-slash less aggressive, Oleh Krehel, 2019/10/16
- [elpa] master efdee7a 172/184: swiper.el (swiper--occur-insert-lines): Extract, Oleh Krehel, 2019/10/16