blob: 097a3885ed3ef927ca914d92abedb6a3ef5adc3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#+TITLE: Slack configuration
#+BEGIN_SRC emacs-lisp
(require 'slack)
#+END_SRC
Use the current team for most interactive commands.
#+BEGIN_SRC emacs-lisp
(setq slack-prefer-current-team t)
#+END_SRC
Use the regular =switch-to-buffer= so slack doesn't create a new
window every time I open a channel.
#+BEGIN_SRC emacs-lisp
(setq slack-buffer-function 'switch-to-buffer)
#+END_SRC
Register my work team.
#+BEGIN_SRC emacs-lisp
(slack-register-team :name "Picturefix"
:default t
:client-id oni:slack-client-id
:client-secret oni:slack-client-secret
:token oni:slack-token
:subscribed-channels
'(general picturefix random shirtlobby))
#+END_SRC
|