diff options
-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 |