branch: externals/substitute
commit e55a1216666af3fefc42c4289001418152da5d1c
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make minor formatting change
---
 substitute.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/substitute.el b/substitute.el
index b3023e21d4..e1fde40781 100644
--- a/substitute.el
+++ b/substitute.el
@@ -163,8 +163,8 @@ Pass to it the TARGET and SCOPE arguments."
 (defun substitute--operate (target sub &optional scope)
   "Substitute TARGET with SUB in SCOPE.
 This is the subroutine of `substitute-target' and related."
-  (let ((count)
-        (search-fn (if (eq scope 'above) 're-search-backward 
're-search-forward)))
+  (let ((search-fn (if (eq scope 'above) 're-search-backward 
're-search-forward))
+        count)
     (save-excursion
       (save-restriction
         (substitute--setup-scope target scope)

Reply via email to