summary refs log tree commit diff
path: root/emacs/custom/fcuny-defuns.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom/fcuny-defuns.el')
-rw-r--r--emacs/custom/fcuny-defuns.el13
1 files changed, 1 insertions, 12 deletions
diff --git a/emacs/custom/fcuny-defuns.el b/emacs/custom/fcuny-defuns.el
index 48a9d97..974d8c8 100644
--- a/emacs/custom/fcuny-defuns.el
+++ b/emacs/custom/fcuny-defuns.el
@@ -13,18 +13,7 @@
 
 (defun fcuny/check-work-machine-p ()
   "Returns t if this is a work machine"
-  (string-match "tw-mbp.*" (system-name)))
-
-(defun fcuny/build-python-checker ()
-  "Compiles a newer version of the checker for Python."
-  (interactive)
-  (let ((output (make-temp-file "checker-foo"))
-        (errors (make-temp-file "checker-errors"))
-        (default-directory "~/workspace/source"))
-    (let ((status (call-process "~/workspace/source/pants" nil `(,output ,errors) nil "-q" "binary" "src/python/twitter/devprod/checkstyle:check")))
-      (if (zerop status)
-          (message "Built check.pex successfully")
-        (message (buffer-file-name output))))))
+  (string-match "HQ\\.*" (system-name)))
 
 ;; from https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/
 (defun fcuny/string-replace (this withthat in)