summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-04-08 08:40:35 -0700
committerFranck Cuny <fcuny@twitter.com>2019-04-08 08:40:35 -0700
commitd8f6a9f095d862bd7ffdf72982f2dad299416e53 (patch)
treeb0056f4f8b8439935779b07b0d05e023216df7df /emacs.d
parent[emacs] When to load pants. (diff)
downloademacs.d-d8f6a9f095d862bd7ffdf72982f2dad299416e53.tar.gz
[emacs] Update configuration related to git.
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/custom/fcuny-git.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-git.el b/emacs.d/custom/fcuny-git.el
index d056896..27a409f 100644
--- a/emacs.d/custom/fcuny-git.el
+++ b/emacs.d/custom/fcuny-git.el
@@ -1,3 +1,5 @@
+(require 'fcuny-defuns)
+
 (use-package gitconfig-mode
   :ensure t
   :defer 5)
@@ -9,6 +11,8 @@
   :bind (("C-x g s" . magit-status))
   :config
   (setq git-commit-summary-max-length 50)
-  (setq fill-column 72))
+  (setq fill-column 72)
+  (when (fcuny/check-work-machine-p)
+    (setq magit-git-executable "/opt/twitter_mde/bin/git")))
 
 (provide 'fcuny-git)