branch: elpa/vc-fossil
commit e2ec5781e460782679323b2d642c8714b760799e
Author: fifr <fifr>
Commit: fifr <fifr>
Use `vc-fossil-command` if the output is inserted in a buffer.
---
vc/el/vc-fossil.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el
index 44d0f73..ed3cf5d 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -341,7 +341,7 @@ If REV is specified, annotate that revision."
(with-temp-buffer
(let ((found (not rev))
(newver nil))
- (insert (vc-fossil--run "finfo" "-l" "-b" (file-truename file)))
+ (vc-fossil-command t 0 (file-truename file) "finfo" "-l" "-b")
;; (vc-fossil--call "fossil" "finfo" "-l" "-b" file)
(goto-char (point-min))
(while (not (eobp))