emacs-diffs
[Top][All Lists]
Advanced

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

scratch/package-vc-fixes 9ca8236a03 33/48: * lisp/vc/vc.el (vc-default-l


From: Philip Kaludercic
Subject: scratch/package-vc-fixes 9ca8236a03 33/48: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call'
Date: Wed, 16 Nov 2022 04:50:06 -0500 (EST)

branch: scratch/package-vc-fixes
commit 9ca8236a03f2a4ba57d182083714bc9e747a4b8b
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]