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:
parent
bd62f06002
commit
9a77626804
1 changed files with 5 additions and 0 deletions
|
@ -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"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue