# HG changeset patch # User Augie Fackler # Date 1480444181 18000 # Node ID 11fdb5a60eee3e232473560e7ec48c1fbc2cbd7f # Parent ced3c6a3e02a1c8f7523a431792077d26f8ea949 emacs: bind f4 to a smarter command in .t files diff --git a/.elisp/settings/90.keybindings.el b/.elisp/settings/90.keybindings.el --- a/.elisp/settings/90.keybindings.el +++ b/.elisp/settings/90.keybindings.el @@ -23,7 +23,8 @@ (defun af-dwim-f4 () (interactive) (cond ((string-match "\\.t$" buffer-file-name) (textmate-start-compile-in-root - (concat "make " (file-name-nondirectory buffer-file-name)))) + (concat "cd tests && python run-tests.py --local -j 2 " + (file-name-nondirectory buffer-file-name)))) ((string-match "\\.rs$" buffer-file-name) (textmate-start-compile-in-root "cargo test")) ))