summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-01-03 16:16:13 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-01-03 16:16:13 -0800
commitf0c9881eab5a11dcb4f5f62d74ebce9f2320a247 (patch)
tree4ee27bee05f860468e4d85efeef763a632266e7e
parent[Emacs] Disable menu bar. (diff)
downloademacs.d-f0c9881eab5a11dcb4f5f62d74ebce9f2320a247.tar.gz
[Emacs] The only VC backend I care about is Magit.
-rw-r--r--emacs.d/lib/settings.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el
index f952d05..7605c0a 100644
--- a/emacs.d/lib/settings.el
+++ b/emacs.d/lib/settings.el
@@ -14,10 +14,9 @@
 (add-hook 'prog-mode-hook
           (lambda () (setq show-trailing-whitespace t)))
 
-;; this makes emacs slow to work with source
-;; FIXME revisit this variable and see if it should be moved to magit
-;; FIXME I'm still not sure how the VC mode is actually useful
-(delete 'Git vc-handled-backends)
+;; I don't care about any frontend other than magit
+(setf vc-handled-backends nil
+      vc-follow-symlinks t)
 
 ;; alias yes-or-no to y-or-n
 (fset 'yes-or-no-p 'y-or-n-p)
@@ -39,9 +38,6 @@
 ;; no initial message in the scratch buffer
 (setq initial-scratch-message nil)
 
-;; follow symlinks
-(setq vc-follow-symlinks t)
-
 ;; scroll 5 lines at a time
 (setq next-screen-context-lines 5)