Subject: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil

From: Louis-Guillaume Gagnon <[email-masked]>
Date: Fri, 26 Aug 2022 16:11:04 +0000

Dear all,

This appears to do what I want:

   (setq vc-follow-symlinks nil)
   (defun my-vc-off-if-remote ()
     (if (file-remote-p (buffer-file-name))
         (setq-local vc-handled-backends nil)))
   (add-hook 'find-file-hook 'my-vc-off-if-remote)

I guess this can be closed as "notabug".

Thanks!

L-G