[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra 7fd0662 285/395: counsel.el (counsel-grep-lik
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra 7fd0662 285/395: counsel.el (counsel-grep-like-occur): Fix for marked files in dired |
Date: |
Thu, 25 Feb 2021 08:32:21 -0500 (EST) |
branch: externals/ivy-hydra
commit 7fd0662c49b163b3733e84c2ee3977898c0beaf4
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
counsel.el (counsel-grep-like-occur): Fix for marked files in dired
Re #2552
---
counsel.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/counsel.el b/counsel.el
index cc86770..e63ad83 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3143,10 +3143,9 @@ Works for `counsel-git-grep', `counsel-ag', etc."
(counsel--format
cmd-template
(mapconcat #'shell-quote-argument all-args " "))
- (cl-assert (equal (last cmd-template) '("%s")))
- (append
- (butlast cmd-template)
- all-args)))))
+ (cl-mapcan
+ (lambda (x) (if (string= x "%s") all-args (list x)))
+ (copy-sequence cmd-template))))))
(cands (counsel--split-string
(if (stringp cmd-template)
(shell-command-to-string cmd)
- [elpa] externals/ivy-hydra af2a5fa 247/395: * counsel.el (counsel-pt): Fix counsel-ag usage, (continued)
- [elpa] externals/ivy-hydra af2a5fa 247/395: * counsel.el (counsel-pt): Fix counsel-ag usage, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4aa8073 264/395: ivy.el (ivy-call): Make "M-x cd" work again, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d1ba9b8 269/395: ivy.el (ivy-resume): Refresh on modified buffer for swiper-isearch, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5e67e7c 268/395: counsel.el (counsel-rg): Split command args independent of the order, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6369139 271/395: ivy.el (ivy--update-history): Behave more like completing-read-default, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c0dc909 277/395: ivy.el (ivy-resume): Support multiple ivy sessions, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 8989ed1 276/395: ivy.el (ivy--update-minibuffer): don't filter while there's input, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d790e53 278/395: doc/ivy.org: Mention multiple-session ivy-resume, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra fb8804d 280/395: ivy.el (ivy--call-marked): Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 489bc57 284/395: counsel.el (counsel-rg-base-command): Make the default a list, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7fd0662 285/395: counsel.el (counsel-grep-like-occur): Fix for marked files in dired,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra f1c57a1 292/395: counsel.el (counsel-async-command-delay): Set the default to 0.0, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra fb73bfe 288/395: counsel.el (counsel--rg-targets): Fix regression, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2b26f83 289/395: counsel.el (counsel--sync-sentinel-on-exit): Don't reset index, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6a576cb 293/395: ivy-avy.el: Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e42e0b3 295/395: ivy-hydra.el (ivy-minibuffer-grow): Move, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 9fddf44 297/395: ivy-faces.el: Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a33af9b 356/395: Unset yank-undo-function in counsel-yank-pop, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 98c61de 299/395: ivy.el (ivy-set-display-transformer): Mark obsolete, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 177d7e0 325/395: Fix definition of ‘counsel--browse-history’., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a877961 330/395: ivy.el (ivy-call): Don't modify default-directory, Basil L. Contovounesios, 2021/02/25