summary refs log tree commit diff
path: root/emacs/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/elisp')
-rw-r--r--emacs/elisp/my-work.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/elisp/my-work.el b/emacs/elisp/my-work.el
new file mode 100644
index 0000000..bdd917c
--- /dev/null
+++ b/emacs/elisp/my-work.el
@@ -0,0 +1,10 @@
+;;; my-work.el --- Functions related to work
+;;; Commentary:
+;;; Code:
+
+(defun my/check-work-machine-p ()
+  "Return t if this is a work machine."
+  (string-match "HQ\\.*" (system-name)))
+
+(provide 'my-work)
+;;; my-work.el ends here