bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Louis-Guillaume Gagnon
Subject: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil
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








reply via email to

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