branch: master
commit 3d72d1d6aef4aecdda3b068ba4de319f456d870a
Author: Michael Heerdegen <michael_heerde...@web.de>
Commit: Michael Heerdegen <michael_heerde...@web.de>

    Address compiler warnings
---
 packages/el-search/el-search.el |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index a15a2d4..c56c9d0 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -332,6 +332,9 @@ error."
     (read-from-minibuffer prompt initial-contents 
el-search-read-expression-map read
                           (or hist 'read-expression-history) default)))
 
+(defvar el-search-history '()
+  "List of input strings.")
+
 (defvar el-search--initial-mb-contents nil)
 
 (defun el-search--read-pattern (prompt &optional default read)
@@ -584,6 +587,10 @@ MESSAGE are used to construct the error message."
                    type arg)))
         args))
 
+(defvar el-search-current-pattern nil)
+
+(defvar el-search-success nil)
+
 
 ;;;; Additional pattern type definitions
 
@@ -928,12 +935,6 @@ You need `diff-hl-mode' turned on, provided by the library
 
 ;;;; Core functions
 
-(defvar el-search-history '()
-  "List of input strings.")
-
-(defvar el-search-success nil)
-(defvar el-search-current-pattern nil)
-
 ;;;###autoload
 (defun el-search-pattern (pattern)
   "Start new or resume last elisp search.

Reply via email to