mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-22 13:40:44 -08:00
(vc-annotate-revision-at-line): Compare file
names too.
This commit is contained in:
parent
433bdc96cb
commit
e2396d80cb
2 changed files with 5 additions and 1 deletions
|
|
@ -447,7 +447,8 @@ Return a cons (REV . FILENAME)."
|
|||
(let ((rev-at-line (vc-annotate-extract-revision-at-line)))
|
||||
(if (not rev-at-line)
|
||||
(message "Cannot extract revision number from the current line")
|
||||
(if (equal (car rev-at-line) vc-annotate-parent-rev)
|
||||
(if (and (equal (car rev-at-line) vc-annotate-parent-rev)
|
||||
(string= (cdr rev-at-line) vc-annotate-parent-file))
|
||||
(message "Already at revision %s" rev-at-line)
|
||||
(vc-annotate-warp-revision (car rev-at-line) (cdr rev-at-line)))))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue