about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-14T20·50+0100
committertazjin <mail@tazj.in>2020-08-15T00·26+0000
commitdae33202fca3b8df6315ab06ae60127a3ec7ef00 (patch)
treee7b327b2c9aafb978e93d8980847e7fbfbb60383 /users/tazjin/emacs/config
parentd44565d17e6e69089fb27d82b10f4c96f87b00bc (diff)
fix(tazjin/emacs): Completely disable vc-mode r/1653
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>
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r--users/tazjin/emacs/config/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index 048ec7d67f5b..24719c8e450a 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -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.