emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 1c84179 098/399: counsel.el (counsel-rg): Add an example t


From: Oleh Krehel
Subject: [elpa] master 1c84179 098/399: counsel.el (counsel-rg): Add an example to the doc
Date: Sat, 20 Jul 2019 14:56:57 -0400 (EDT)

branch: master
commit 1c84179f2564c3a657ea8032d586314acd985910
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-rg): Add an example to the doc
---
 counsel.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index bcf633c..2b477d8 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2756,7 +2756,10 @@ Note: don't use single quotes for the regex."
 INITIAL-INPUT can be given as the initial minibuffer input.
 INITIAL-DIRECTORY, if non-nil, is used as the root directory for search.
 EXTRA-RG-ARGS string, if non-nil, is appended to `counsel-rg-base-command'.
-RG-PROMPT, if non-nil, is passed as `ivy-read' prompt argument."
+RG-PROMPT, if non-nil, is passed as `ivy-read' prompt argument.
+
+Example input with inclusion and exclusion file patterns:
+    -g*.py -g!*test* -- ..."
   (interactive)
   (let ((counsel-ag-base-command counsel-rg-base-command)
         (counsel--grep-tool-look-around



reply via email to

[Prev in Thread] Current Thread [Next in Thread]