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: Dmitry Gutov
Subject: bug#57418: 28.1; Projects not saved when vc-handled-backends is nil
Date: Sat, 27 Aug 2022 01:36:25 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 26.08.2022 19:11, Louis-Guillaume Gagnon wrote:
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".

Very good, closing.





reply via email to

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