aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/log-view.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/log-view.el b/lisp/log-view.el
index a904a0355dd..2ca52443979 100644
--- a/lisp/log-view.el
+++ b/lisp/log-view.el
@@ -214,7 +214,8 @@ The match group number 1 should match the revision number itself.")
214 (save-excursion 214 (save-excursion
215 (forward-line 1) 215 (forward-line 1)
216 (or (re-search-backward log-view-file-re nil t) 216 (or (re-search-backward log-view-file-re nil t)
217 (re-search-forward log-view-file-re)) 217 (re-search-forward log-view-file-re nil t)
218 (error "Unable to determine the current file")
218 (let* ((file (match-string 1)) 219 (let* ((file (match-string 1))
219 (cvsdir (and (re-search-backward log-view-dir-re nil t) 220 (cvsdir (and (re-search-backward log-view-dir-re nil t)
220 (match-string 1))) 221 (match-string 1)))