[Top][All Lists]

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

[elpa] master cbdc9c9 078/399: counsel.el (counsel--compile-get-make-tar

From: Oleh Krehel
Subject: [elpa] master cbdc9c9 078/399: counsel.el (counsel--compile-get-make-targets): Rename
Date: Sat, 20 Jul 2019 14:56:52 -0400 (EDT)

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

    counsel.el (counsel--compile-get-make-targets): Rename
    Re #1966
 counsel.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index d6d388f..c4d6699 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5174,7 +5174,7 @@ N in your system."
   :type '(repeat directory))
 ;; This is loosely based on the Bash Make completion code
-(defun counsel--get-make-targets (srcdir &optional blddir)
+(defun counsel--compile-get-make-targets (srcdir &optional blddir)
   "Return a list of Make targets for a given SRCDIR/BLDDIR combination.
 We search the Makefile for a list of phony targets which are
@@ -5208,7 +5208,7 @@ subdirectories that builds may be invoked in."
   (let ((srcdir (counsel--compile-root)))
     (when (directory-files (or blddir srcdir) nil
                            counsel-compile-make-pattern t)
-      (counsel--get-make-targets srcdir blddir))))
+      (counsel--compile-get-make-targets srcdir blddir))))
 (defun counsel--find-build-subdir (srcdir)
   "Return builds subdirectory of SRCDIR, if one exists."

reply via email to

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