From fe79856349b35893f1e2920b418de59051a0dc7e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 31 Jan 2022 17:26:39 -0600 Subject: Add slack --- lisp/+slack.el | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lisp/+slack.el (limited to 'lisp') diff --git a/lisp/+slack.el b/lisp/+slack.el new file mode 100644 index 0000000..cdf2747 --- /dev/null +++ b/lisp/+slack.el @@ -0,0 +1,27 @@ +;;; +slack.el --- Slack customizations and extras -*- lexical-binding: t; -*- + +;;; Commentary: + +;;; Code: + +(require 'slack) + +(defgroup +slack nil + "Extra slack customizations." + :group 'slack + :prefix "+slack-") + +(defcustom +slack-teams nil + "Teams to register using `slack-register-team'. +This is a list of plists that are passed directly to +`slack-register-team'." + ;;TODO: type + ) + +(defun +slack-register-teams () + "Register teams in `+slack-teams'." + (dolist (team +slack-teams) + (apply #'slack-register-team team))) + +(provide '+slack) +;;; +slack.el ends here -- cgit 1.4.1-21-gabe81