From dae33202fca3b8df6315ab06ae60127a3ec7ef00 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 14 Aug 2020 21:50:04 +0100 Subject: 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 --- users/tazjin/emacs/config/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'users/tazjin') diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el index 048ec7d67f..24719c8e45 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. -- cgit 1.4.1