branch: master
commit 265bf49bf200f309ebf826a2ab975ce5e8542743
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    counsel.el: Fix compile warning
---
 counsel.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index e23e354..a27bc68 100644
--- a/counsel.el
+++ b/counsel.el
@@ -121,6 +121,8 @@ Or the time of the last minibuffer update.")
     (set-process-sentinel proc (or process-sentinel #'counsel--async-sentinel))
     (set-process-filter proc (or process-filter #'counsel--async-filter))))
 
+(defvar counsel-grep-last-line nil)
+
 (defun counsel--async-sentinel (process event)
   (let ((cands
          (cond ((string= event "finished\n")
@@ -1412,8 +1414,6 @@ the command."
        (format counsel-grep-base-command regex counsel--git-grep-dir))
       nil)))
 
-(defvar counsel-grep-last-line nil)
-
 (defun counsel-grep-action (x)
   (with-ivy-window
     (swiper--cleanup)

Reply via email to