From dd622e06e7db8362ecdb69ecbd42b2fb01a5168b Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Thu, 18 Sep 2025 11:24:18 +0200 Subject: [PATCH] * Clean-up some compilation warnings in vc-hooks.el * lisp/vc/vc-hooks.el(vc-diff-outgoing-base) (vc-root-diff-outgoing-base, vc-apply-to-other-working-tree) (vc-apply-root-to-other-working-tree): Declare. --- lisp/vc/vc-hooks.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index da67f7f1815..15ec3adf00e 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -31,6 +31,12 @@ (eval-when-compile (require 'cl-lib)) +(declare-function vc-diff-outgoing-base "vc" (&optional upstream-location fileset)) +(declare-function vc-root-diff-outgoing-base "vc" (&optional upstream-location)) +(declare-function vc-apply-to-other-working-tree "vc" (directory &optional move)) +(declare-function vc-apply-root-to-other-working-tree "vc" + (directory &optional move preview)) + ;; Faces (defgroup vc-faces nil