From: Oleh Krehel Date: Thu, 14 Apr 2016 12:33:28 +0000 (+0200) Subject: counsel.el: Fix compile warning X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/265bf49bf200f309ebf826a2ab975ce5e8542743 counsel.el: Fix compile warning --- diff --git a/counsel.el b/counsel.el index e23e354a2..a27bc684c 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)