From 928cb09356fb869a3bf4346674b04536bd0f9d48 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 23 Mar 2022 19:12:37 -0700 Subject: init: simplify loading libraries --- emacs/elisp/my-work.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 emacs/elisp/my-work.el (limited to 'emacs/elisp') 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 -- cgit v1.2.3