dotfiles/emacs/.emacs.d/init/oni-slack-init.org
2016-11-03 15:25:10 +01:00

795 B

Slack configuration

  (require 'slack)

Use the current team for most interactive commands.

  (setq slack-prefer-current-team t)

Use the regular switch-to-buffer so slack doesn't create a new window every time I open a channel.

  (setq slack-buffer-function 'switch-to-buffer)

Register my work team.

  (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))