summary refs log tree commit diff
path: root/emacs/elisp
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-23 19:12:37 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-23 19:12:37 -0700
commit928cb09356fb869a3bf4346674b04536bd0f9d48 (patch)
tree13f077017b25ac0ba3bc3696dbe7b9bbb130175c /emacs/elisp
parentrename a few more libraries (diff)
downloademacs.d-928cb09356fb869a3bf4346674b04536bd0f9d48.tar.gz
init: simplify loading libraries
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