diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-07-17 15:16:52 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-07-17 15:16:52 -0700 |
commit | 9905d9ff6c590e24dfe473302556c75230b5d4c2 (patch) | |
tree | d47f3c9339b89667007fb35b8db61202c52d2b81 | |
parent | [emacs] Simplify the configuration (diff) | |
download | emacs.d-9905d9ff6c590e24dfe473302556c75230b5d4c2.tar.gz |
[emacs] BUILD files are python (at work)
-rw-r--r-- | emacs.d/config/fcuny-prog.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs.d/config/fcuny-prog.el b/emacs.d/config/fcuny-prog.el index 8124952..c7d267c 100644 --- a/emacs.d/config/fcuny-prog.el +++ b/emacs.d/config/fcuny-prog.el @@ -28,7 +28,10 @@ (pants-extra-args "-q") :bind (("C-c b" . pants-find-build-file) ("C-c r" . pants-run-binary) - ("C-c t" . pants-run-test))) + ("C-c t" . pants-run-test)) + :init + (if (fc/check-work-machine-p) + (add-to-list 'auto-mode-alist '("BUILD" . python-mode)))) (use-package make-mode :ensure t |