diff options
Diffstat (limited to 'lisp/+slack.el')
-rw-r--r-- | lisp/+slack.el | 27 |
1 files changed, 27 insertions, 0 deletions
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 @@ | |||
1 | ;;; +slack.el --- Slack customizations and extras -*- lexical-binding: t; -*- | ||
2 | |||
3 | ;;; Commentary: | ||
4 | |||
5 | ;;; Code: | ||
6 | |||
7 | (require 'slack) | ||
8 | |||
9 | (defgroup +slack nil | ||
10 | "Extra slack customizations." | ||
11 | :group 'slack | ||
12 | :prefix "+slack-") | ||
13 | |||
14 | (defcustom +slack-teams nil | ||
15 | "Teams to register using `slack-register-team'. | ||
16 | This is a list of plists that are passed directly to | ||
17 | `slack-register-team'." | ||
18 | ;;TODO: type | ||
19 | ) | ||
20 | |||
21 | (defun +slack-register-teams () | ||
22 | "Register teams in `+slack-teams'." | ||
23 | (dolist (team +slack-teams) | ||
24 | (apply #'slack-register-team team))) | ||
25 | |||
26 | (provide '+slack) | ||
27 | ;;; +slack.el ends here | ||