emacs-devel
[Top][All Lists]
Advanced

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

Re: master 8761d30: Avoid failing if vc backend doesn't implement ignore


From: Dmitry Gutov
Subject: Re: master 8761d30: Avoid failing if vc backend doesn't implement ignore-completion-table
Date: Wed, 1 Sep 2021 01:16:20 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 01.09.2021 00:51, Stefan Monnier wrote:
-         (vc-call-backend backend 'ignore-completion-table root))))
+         (condition-case nil
+             (vc-call-backend backend 'ignore-completion-table root)
+           (vc-not-supported () nil)))))
The usual way to do that is to

    (defun vc-default-ignore-completion-table (...) nil)

Yep. That's a really good idea actually.



reply via email to

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