]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix reported warnings
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 4 Oct 2019 08:29:49 +0000 (11:29 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 4 Oct 2019 09:13:25 +0000 (12:13 +0300)
lisp/progmodes/project.el

index 2cf11afc36b6d8fb1f905727ffd49aaefd9d9fdc..2c0c32345d2552a2afd3fd49fa4aa9a9c259abbc 100644 (file)
@@ -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)