Subject: 26.1; Impossible to customise vc-ignore-dir-regexp

From: Juliusz Chroboczek <[email-masked]>
Date: Sat, 03 Aug 2019 20:44:09 +0200

I'm trying to disable vc in a directory (an sshfs mount).  The obvious
candidate is vc-ignore-dir-regexp:

> vc-ignore-dir-regexp is a variable defined in ‘vc-hooks.el’.
> Its value is
> "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"

It is essentially impossible for a normal user to customise this variable
without disabling the existing functionality.  So for now, it's

  (setq vc-handled-backends nil)

Regards,

-- Juliusz