mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-05 00:17:33 -04:00
tramp: Disable vc
Tramp's FAQ suggests this in order to speed things up.
This commit is contained in:
parent
7c194efc8a
commit
b0178cc65c
6
init.el
6
init.el
@ -159,7 +159,11 @@
|
|||||||
(add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
|
(add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
|
||||||
(add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
|
(add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
|
||||||
(add-to-list 'tramp-default-proxies-alist
|
(add-to-list 'tramp-default-proxies-alist
|
||||||
(list (regexp-quote (system-name)) nil nil)))
|
(list (regexp-quote (system-name)) nil nil))
|
||||||
|
(setq vc-ignore-dir-regexp
|
||||||
|
(format "\\(%s\\)\\|\\(%s\\)"
|
||||||
|
vc-ignore-dir-regexp
|
||||||
|
tramp-file-name-regexp)))
|
||||||
|
|
||||||
(progn ; startup
|
(progn ; startup
|
||||||
(message "Loading %s...done (%.3fs)" user-init-file
|
(message "Loading %s...done (%.3fs)" user-init-file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user