From 9a77626804bc06c27e05e0413869f8afb309c4d0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 26 Feb 2021 12:45:44 -0500 Subject: [PATCH] Omit all but SVN, Git & Hg from vc-handled-backends This means less file IO for each buffer spent checking for each version control system. --- modules/emacs/vc/config.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/emacs/vc/config.el b/modules/emacs/vc/config.el index 8cbf746de..6cfd1de00 100644 --- a/modules/emacs/vc/config.el +++ b/modules/emacs/vc/config.el @@ -1,5 +1,10 @@ ;;; emacs/vc/config.el -*- lexical-binding: t; -*- +;; Remove RCS, CVS, SCCS, SRC, and Bzr, because it's a lot less work for vc to +;; check them all (especially in TRAMP buffers), and who uses any of these in +;; 2021, amirite? +(setq-default vc-handled-backends '(SVN Git Hg)) + (when IS-WINDOWS (setenv "GIT_ASKPASS" "git-gui--askpass"))