[Top][All Lists]

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

[elpa] master c356b2d 19/24: Rename a local variable

From: Michael Heerdegen
Subject: [elpa] master c356b2d 19/24: Rename a local variable
Date: Thu, 19 May 2016 20:46:38 +0000 (UTC)

branch: master
commit c356b2dd3e09715d82f8c2da212e891fd5dfd9c3
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    Rename a local variable
 packages/el-search/el-search.el |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index 0f40e83..7cfe477 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -1016,12 +1016,12 @@ Hit any key to proceed."
             (unless (eq this-command last-command)
               (el-search-hl-other-matches pattern)))
           (let* ((region (list (point) (el-search--end-of-sexp)))
-                 (substring (apply #'buffer-substring-no-properties region))
-                 (expr      (read substring))
+                 (original-text (apply #'buffer-substring-no-properties 
+                 (expr      (read original-text))
                  (replaced-this nil)
                  (new-expr  (funcall get-replacement expr))
-                  (lambda () (el-search--format-replacement new-expr substring 
to-input-string splice)))
+                  (lambda () (el-search--format-replacement new-expr 
original-text to-input-string splice)))
                  (to-insert (funcall get-replacement-string))

reply via email to

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