From 3d72d1d6aef4aecdda3b068ba4de319f456d870a Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Sat, 19 Mar 2016 23:05:11 +0100 Subject: [PATCH] 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 a15a2d4e1..c56c9d0f9 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. -- 2.39.2