From: Philip Kaludercic Date: Tue, 31 Aug 2021 20:24:02 +0000 (+0200) Subject: Avoid failing if vc backend doesn't implement ignore-completion-table X-Git-Tag: emacs-28.0.90~1244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8761d30da0c4d7d9fd59c192bc283e17b04c5db3;p=emacs.git Avoid failing if vc backend doesn't implement ignore-completion-table * project.el (project-ignores): Handle vc-not-supported signals --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index ae9bf035717..e420a4ccca7 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -604,7 +604,9 @@ backend implementation of `project-external-roots'.") (replace-match "./" t t entry 1) (concat "./" entry))) (t entry))) - (vc-call-backend backend 'ignore-completion-table root)))) + (condition-case nil + (vc-call-backend backend 'ignore-completion-table root) + (vc-not-supported () nil))))) (project--value-in-dir 'project-vc-ignores root) (mapcar (lambda (dir)