]> code.delx.au - gnu-emacs-elpa/commitdiff
Address compiler warnings
authorMichael Heerdegen <michael_heerdegen@web.de>
Sat, 19 Mar 2016 22:05:11 +0000 (23:05 +0100)
committerMichael Heerdegen <michael_heerdegen@web.de>
Thu, 19 May 2016 20:28:14 +0000 (22:28 +0200)
packages/el-search/el-search.el

index a15a2d4e1144896a1cfb0cbb67da05d4fb8a47d8..c56c9d0f9723f0c558ca08550e4f98bafd1d6a76 100644 (file)
@@ -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.