fix(tazjin/emacs): Completely disable vc-mode

vc-mode is somehow broken in this newer version of Emacs and, since it
is part of the default find-file-hook, breaks pretty much everything.

This disables all vc backends until I figure out what's going on.

Change-Id: I104cd30d6c56f3d6423ac079b1427127bf5a1038
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1752
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2020-08-14 21:50:04 +01:00 committed by tazjin
parent d44565d17e
commit dae33202fc

View file

@ -6,6 +6,14 @@
(require 'use-package)
(require 'seq)
;; TODO(tazjin): Figure out what's up with vc.
;;
;; Leaving vc enabled breaks all find-file operations with messages
;; about .git folders being absent, but in random places.
(require 'vc)
(setq vc-handled-backends nil)
(package-initialize)
;; Initialise all packages installed via Nix.