slack.el 631 B

12345678910111213141516171819
  1. (setq slack-teams nil)
  2. (setq slack-prefer-current-team t)
  3. ;; https://github.com/yuya373/emacs-slack/issues/431
  4. (slack-register-team
  5. :name "mjru"
  6. :default t
  7. :token (let ((secret (plist-get (nth 0
  8. (auth-source-search
  9. :host "slack-majordomo"
  10. :user "pyhalov"))
  11. :secret)))
  12. (and (functionp secret)
  13. (funcall secret)))
  14. :subscribed-channels '(monitoring git tech eng sups)
  15. :full-and-display-names t)
  16. (setq slack-completing-read-function 'ivy-completing-read)