[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm e17ad364b9: Fix helm-grep-hack-types for ack v3.3.1
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm e17ad364b9: Fix helm-grep-hack-types for ack v3.3.1 |
Date: |
Thu, 17 Feb 2022 12:58:26 -0500 (EST) |
branch: elpa/helm
commit e17ad364b9ddc7b283b21df94b3ba2fa8bdc11e3
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix helm-grep-hack-types for ack v3.3.1
---
helm-grep.el | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/helm-grep.el b/helm-grep.el
index 999e197fbd..6fa38df518 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -1037,14 +1037,13 @@ Special commands:
;; `helm-grep-use-ack-p'.
(call-process (helm-grep-command t) nil t nil "--help-types")
(goto-char (point-min))
- (cl-loop while (re-search-forward
- "^ *--\\(\\[no\\]\\)\\([^. ]+\\) *\\(.*\\)" nil t)
- collect (cons (concat (match-string 2)
- " [" (match-string 3) "]")
- (match-string 2))
- collect (cons (concat "no" (match-string 2)
- " [" (match-string 3) "]")
- (concat "no" (match-string 2))))))
+ (cl-loop while (re-search-forward "^ +\\([^. ]+\\) +\\(.*\\)" nil t)
+ collect (cons (concat (match-string 1)
+ " [" (match-string 2) "]")
+ (match-string 1))
+ collect (cons (concat "no" (match-string 1)
+ " [" (match-string 2) "]")
+ (concat "no" (match-string 1))))))
(defun helm-grep-ack-types-transformer (candidates _source)
(cl-loop for i in candidates
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm e17ad364b9: Fix helm-grep-hack-types for ack v3.3.1,
ELPA Syncer <=