summaryrefslogtreecommitdiff
path: root/tramp-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-04-10 14:09:56 +0800
committerJSDurand <mmemmew@gmail.com>2022-04-11 01:41:54 +0800
commitef4428a957feae268a01bfbd1858aaa059cfab4f (patch)
tree5b0f922d19116eff8c9b36aa8ce01a2884bea8ca /tramp-conf.el
parent9233c47071d4e65cd767572a9761dbe868e8f4f2 (diff)
misc: eshell, common and tramp
* eshell-conf.el: Load eshell-tramp. I am not sure if this is necessary, though. * tramp-conf.el (vc-ignore-dir-regexp): Ignore version control on remote hosts. Maybe I will change my mind in the future. * common.el (Info-mode-map): Evaluate this only after info is loaded.
Diffstat (limited to 'tramp-conf.el')
-rw-r--r--tramp-conf.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/tramp-conf.el b/tramp-conf.el
index 8614be3..183361b 100644
--- a/tramp-conf.el
+++ b/tramp-conf.el
@@ -51,5 +51,12 @@
(setq tramp-allow-unsafe-temporary-files t)
+;;; Disable version control on remote hosts
+
+(setq
+ vc-ignore-dir-regexp
+ (format "\\(%s\\)\\|\\(%s\\)"
+ vc-ignore-dir-regexp tramp-file-name-regexp))
+
(provide 'tramp-conf)
;;; tramp-conf.el ends here