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

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

[elpa] externals/counsel 929da00 2/3: Document use of locate-command


From: Basil L. Contovounesios
Subject: [elpa] externals/counsel 929da00 2/3: Document use of locate-command
Date: Sun, 9 May 2021 04:33:39 -0400 (EDT)

branch: externals/counsel
commit 929da00d65caaf3901676b889910c8fc43121bbe
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Document use of locate-command
    
    * counsel.el (counsel-locate-cmd-default)
    (counsel-locate-cmd-noregex): Mention locate-command in
    docstring (#2859).
---
 counsel.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 6655a6c..c176820 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2620,7 +2620,9 @@ string - the full shell command to run."
 (defvar locate-command)
 
 (defun counsel-locate-cmd-default (input)
-  "Return a `locate' shell command based on regexp INPUT."
+  "Return a `locate' shell command based on regexp INPUT.
+This uses the user option `locate-command' from the `locate'
+library, which see."
   (counsel-require-program locate-command)
   (format "%s -i --regex %s"
           locate-command
@@ -2629,7 +2631,9 @@ string - the full shell command to run."
             (ivy--regex input)))))
 
 (defun counsel-locate-cmd-noregex (input)
-  "Return a `locate' shell command based on INPUT."
+  "Return a `locate' shell command based on INPUT.
+This uses the user option `locate-command' from the `locate'
+library, which see."
   (counsel-require-program locate-command)
   (format "%s -i %s"
           locate-command



reply via email to

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