about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/device.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/device.el')
-rw-r--r--emacs/.emacs.d/wpc/device.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/device.el b/emacs/.emacs.d/wpc/device.el
index 03eb55beb7f4..a5a761c54f47 100644
--- a/emacs/.emacs.d/wpc/device.el
+++ b/emacs/.emacs.d/wpc/device.el
@@ -34,5 +34,9 @@
   (equal 'work-desktop
          (device/classify)))
 
+(defun device/corporate? ()
+  "Return t if the current device is owned by my company."
+  (or (device/work-laptop?) (device/work-desktop?)))
+
 (provide 'device)
 ;;; device.el ends here