summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index cf1cc51f2ec..6734c05a8a8 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -377,7 +377,7 @@ Displays line found at center of window. REGEXP is remembered for
searching with \\[View-search-last-regexp-forward] and \\[View-search-last-regexp-backward]. Sets mark at starting position and pushes mark ring."
(interactive "p\nsSearch forward (regexp): ")
;;;(view-last-command 'View-search-last-regexp-forward n)
- (view-search n (if (equal regexp "") view-last-regexp regexp))))
+ (view-search n (if (equal regexp "") view-last-regexp regexp)))
(defun View-search-regexp-backward (n regexp)
"Search backward from window start for Nth instance of REGEXP.