emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/el-search d25f4d8 082/332: Address compiler warnings


From: Stefan Monnier
Subject: [elpa] externals/el-search d25f4d8 082/332: Address compiler warnings
Date: Tue, 1 Dec 2020 15:48:16 -0500 (EST)

branch: externals/el-search
commit d25f4d800f119b3ca660794192fefb67abf636b0
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Michael Heerdegen <michael_heerdegen@web.de>

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

diff --git a/el-search.el b/el-search.el
index a15a2d4..c56c9d0 100644
--- a/el-search.el
+++ b/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

[Prev in Thread] Current Thread [Next in Thread]