summary refs log tree commit diff
path: root/emacs/lisp
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-22 08:02:38 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-22 08:02:38 -0700
commitecb174b17a28caf7f5d570ee461c73902f61e309 (patch)
treed9183a14ee17a9ee10d1cc5fcce8bb5743cce00a /emacs/lisp
parentinit: load custom commands last (diff)
downloademacs.d-ecb174b17a28caf7f5d570ee461c73902f61e309.tar.gz
work: manage work related functions
Diffstat (limited to 'emacs/lisp')
-rw-r--r--emacs/lisp/my-work.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/lisp/my-work.el b/emacs/lisp/my-work.el
new file mode 100644
index 0000000..a9a4e39
--- /dev/null
+++ b/emacs/lisp/my-work.el
@@ -0,0 +1,10 @@
+;;; my-work.el --- Functions related to work
+;;; Commentary:
+;;; Code:
+
+(defun fcuny/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