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.
This commit is contained in:
Henrik Lissner 2021-02-26 12:45:44 -05:00
parent bd62f06002
commit 9a77626804

View file

@ -1,5 +1,10 @@
;;; emacs/vc/config.el -*- lexical-binding: t; -*- ;;; 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 (when IS-WINDOWS
(setenv "GIT_ASKPASS" "git-gui--askpass")) (setenv "GIT_ASKPASS" "git-gui--askpass"))