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

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

[elpa] master eddf427 261/348: counsel.el (counsel-ag): Fix byte-compile


From: Oleh Krehel
Subject: [elpa] master eddf427 261/348: counsel.el (counsel-ag): Fix byte-compile warning
Date: Sat, 8 Apr 2017 11:04:11 -0400 (EDT)

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

    counsel.el (counsel-ag): Fix byte-compile warning
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 33e6c1a..f65628c 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1715,7 +1715,7 @@ If non-nil, EXTRA-AG-ARGS string is appended to BASE-CMD."
                                     " in directory: "))))
     (setq extra-ag-args
           (or extra-ag-args
-              (let* ((pos (position ?  counsel-ag-base-command))
+              (let* ((pos (cl-position ?  counsel-ag-base-command))
                      (command (substring-no-properties counsel-ag-base-command 
0 pos))
                      (ag-args (replace-regexp-in-string
                                "%s" "" (substring-no-properties 
counsel-ag-base-command pos))))



reply via email to

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