From: Dmitry Gutov Date: Fri, 4 Oct 2019 08:29:49 +0000 (+0300) Subject: ; Fix reported warnings X-Git-Tag: emacs-27.0.90~1298 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d8c2da46e7e51a11882dabd593af29f4146aa0b3;p=emacs.git ; Fix reported warnings --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 2cf11afc36b..2c0c32345d2 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -295,6 +295,10 @@ backend implementation of `project-external-roots'.") (project--dir-ignores project dir))))) (or dirs (project-roots project)))) +(declare-function vc-git--program-version "vc-git") +(declare-function vc-git--run-command-string "vc-git") +(declare-function vc-hg-command "vc-hg") + (defun project--vc-list-files (dir backend extra-ignores) (pcase backend (`Git @@ -327,7 +331,7 @@ backend implementation of `project-external-roots'.") (mapcan (lambda (i) (list "--exclude" i)) - (copy-list extra-ignores))))) + extra-ignores)))) (with-temp-buffer (apply #'vc-hg-command t 0 "." "status" args)