emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/package-vc-fixes 8cb28e2d2f 2/5: * lisp/vc/vc.el (vc-default-las


From: Philip Kaludercic
Subject: scratch/package-vc-fixes 8cb28e2d2f 2/5: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call'
Date: Tue, 15 Nov 2022 04:46:44 -0500 (EST)

branch: scratch/package-vc-fixes
commit 8cb28e2d2f9be81dcbf5986cee0748c0880d2cb8
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call'
---
 lisp/vc/vc.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 2314672bb8..86b723057e 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -3615,9 +3615,7 @@ It returns the last revision that changed LINE number in 
FILE."
                      file (current-buffer))
     (goto-char (point-min))
     (forward-line (1- line))
-    (let ((rev (vc-call-backend
-                (vc-backend file)
-                'annotate-extract-revision-at-line)))
+    (let ((rev (vc-call annotate-extract-revision-at-line file)))
       (if (consp rev) (car rev) rev))))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]