Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
22f4e5c1
Commit
22f4e5c1
authored
Sep 02, 2007
by
Glenn Morris
Browse files
(log-view-current-file): Give a more explicit error if
log-view-file-re fails to find a match.
parent
b0bda246
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/log-view.el
lisp/log-view.el
+2
-1
No files found.
lisp/log-view.el
View file @
22f4e5c1
...
...
@@ -214,7 +214,8 @@ The match group number 1 should match the revision number itself.")
(
save-excursion
(
forward-line
1
)
(
or
(
re-search-backward
log-view-file-re
nil
t
)
(
re-search-forward
log-view-file-re
))
(
re-search-forward
log-view-file-re
nil
t
)
(
error
"Unable to determine the current file"
)
(
let*
((
file
(
match-string
1
))
(
cvsdir
(
and
(
re-search-backward
log-view-dir-re
nil
t
)
(
match-string
1
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment