aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index e74ce1e8888..a765be02c1e 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -957,7 +957,7 @@ for highlighting the match that is found."
957 (t (error "No previous View-mode search"))) 957 (t (error "No previous View-mode search")))
958 (save-excursion 958 (save-excursion
959 (if end (goto-char (if (< times 0) (point-max) (point-min))) 959 (if end (goto-char (if (< times 0) (point-max) (point-min)))
960 (move-to-window-line (if (< times 0) 0 -1))) 960 (forward-line (if (< times 0) -1 1)))
961 (if (if no (view-search-no-match-lines times regexp) 961 (if (if no (view-search-no-match-lines times regexp)
962 (re-search-forward regexp nil t times)) 962 (re-search-forward regexp nil t times))
963 (setq where (point)))) 963 (setq where (point))))