Commit 84477f5d authored by Mark Laws's avatar Mark Laws

Fix "void-variable search-backward" error

parent f67231d7
......@@ -486,7 +486,7 @@ visible all the time in the minibuffer."
(condition-case err
(if forward
(funcall (if vr/plain 'search-forward 're-search-forward) regexp-string vr--target-buffer-end t)
(funcall (if 'vr/plain search-backward 're-search-backward) regexp-string vr--target-buffer-start t))
(funcall (if vr/plain 'search-backward 're-search-backward) regexp-string vr--target-buffer-start t))
(invalid-regexp (progn (setq message-line (car (cdr err))) nil))))
(when (or (not feedback-limit) (< i feedback-limit)) ;; let outer loop finish so we can get the matches count
(cl-loop for (start end) on (match-data) by 'cddr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment