emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master d8c2da4 2/2: ; Fix reported warnings


From: Dmitry Gutov
Subject: [Emacs-diffs] master d8c2da4 2/2: ; Fix reported warnings
Date: Fri, 4 Oct 2019 05:13:34 -0400 (EDT)

branch: master
commit d8c2da46e7e51a11882dabd593af29f4146aa0b3
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    ; Fix reported warnings
---
 lisp/progmodes/project.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 2cf11af..2c0c323 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]