branch: externals/capf-autosuggest
commit d374a0bffc3c586cea353c7fea9682ff1194d4eb
Author: jakanakaevangeli <[email protected]>
Commit: jakanakaevangeli <[email protected]>

    Small rearrangement
---
 capf-autosuggest.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/capf-autosuggest.el b/capf-autosuggest.el
index a61d976..30da5eb 100644
--- a/capf-autosuggest.el
+++ b/capf-autosuggest.el
@@ -57,8 +57,6 @@ hint to only return a list of one element for optimization.")
 (defvar-local capf-autosuggest--region '(nil)
   "Region of `completion-at-point'.")
 
-(defvar capf-autosuggest-active-mode)
-
 (defun capf-autosuggest-orig-capf (&optional capf-functions)
   "A capf that chooses from hook variable CAPF-FUNCTIONS.
 CAPF-FUNCTIONS defaults to `completion-at-point-functions'.
@@ -75,6 +73,8 @@ Otherwise, return nil."
   (when (eolp)
     (capf-autosuggest-orig-capf)))
 
+(defvar capf-autosuggest-active-mode)
+
 (defun capf-autosuggest--post-h ()
   "Create an auto-suggest overlay."
   (if completion-in-region-mode

Reply via email to