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
cbc98273
Commit
cbc98273
authored
Jan 17, 2006
by
Juri Linkov
Browse files
(log-view-minor-wrap): Use the same logic to get revisions as `log-view-diff'.
parent
d545c9fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
lisp/log-view.el
lisp/log-view.el
+12
-8
No files found.
lisp/log-view.el
View file @
cbc98273
...
...
@@ -225,14 +225,18 @@
(
defun
log-view-minor-wrap
(
buf
f
)
(
let
((
data
(
with-current-buffer
buf
(
cons
(
cons
(
log-view-current-file
)
(
log-view-current-tag
))
(
when
mark-active
(
save-excursion
(
goto-char
(
mark
))
(
cons
(
log-view-current-file
)
(
log-view-current-tag
))))))))
(
let*
((
beg
(
if
mark-active
(
region-beginning
)
(
point
)))
(
end
(
if
mark-active
(
region-end
)
(
point
)))
(
fr
(
log-view-current-tag
beg
))
(
to
(
log-view-current-tag
end
)))
(
when
(
string-equal
fr
to
)
(
save-excursion
(
goto-char
end
)
(
log-view-msg-next
)
(
setq
to
(
log-view-current-tag
))))
(
cons
(
cons
(
log-view-current-file
)
to
)
(
cons
(
log-view-current-file
)
fr
))))))
(
let
((
cvs-branch-prefix
(
cdar
data
))
(
cvs-secondary-branch-prefix
(
and
(
cdar
data
)
(
cddr
data
)))
(
cvs-minor-current-files
...
...
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