Have 'last-change' accept a line number instead of a range
* lisp/emacs-lisp/package-vc.el (package-vc-release-rev): Use new signature. * lisp/vc/vc-git.el (vc-git-last-change): Update signature * lisp/vc/vc.el (vc-default-last-change): Update signature and use 'annotate-command'.
This commit is contained in:
parent
bb86ed20e1
commit
d33998ed3b
3 changed files with 21 additions and 22 deletions
|
@ -507,8 +507,8 @@ If no such revision can be found, return nil."
|
|||
(ignore-error vc-not-supported
|
||||
(vc-call-backend (vc-backend (buffer-file-name))
|
||||
'last-change
|
||||
(match-beginning 0)
|
||||
(match-end 0))))))))
|
||||
(buffer-file-name)
|
||||
(line-number-at-pos nil t))))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun package-vc-install (name-or-url &optional name rev backend)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue