summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-12-21 12:39:11 +0000
committerAlan Pearce2016-12-21 12:39:11 +0000
commitaf6db3aab7323722c11be334afcac0c9fd6c93f9 (patch)
tree7f545c667cc5bb2a288f16f39dfa28073cce914a /tag-emacs
parente2d85d381b0a3e827e9bf37dd6c527d6b08044d6 (diff)
downloaddotfiles-af6db3aab7323722c11be334afcac0c9fd6c93f9.tar.lz
dotfiles-af6db3aab7323722c11be334afcac0c9fd6c93f9.tar.zst
dotfiles-af6db3aab7323722c11be334afcac0c9fd6c93f9.zip
Emacs: Ignore TRAMP directories for VC
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 352f6ef..45f3e81 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -475,7 +475,10 @@ occasions that I’m working with something other than git.
   :defer t
   :bind (("C-x v C" . vc-resolve-conflicts))
   :config (progn
-            (setq vc-follow-symlinks t)))
+            (setq vc-follow-symlinks t)
+            (setq vs-ignore-dir-regexp (format "\\(%s\\)\\|\\(%s\\)"
+                                               vc-ignore-dir-regexp
+                                               tramp-file-name-regexp))))
 #+END_SRC
 
 ** git-gutter-fringe