Disable auto-fill-mode and company-mode in IRC buffers

Why?
- `company-mode` is too noisy in IRC buffers.
- `auto-fill-mode` inserts newline characters that end up each being their own
  message, which means that I make more noise than I should in IRC.
This commit is contained in:
William Carroll 2020-01-27 11:40:05 +00:00
parent fb51c8b458
commit b6e9952889

View file

@ -148,6 +148,9 @@
(irc/message
(string/format "Current IRC channel: %s" (cycle/current cycle))))))
(add-hook 'erc-mode-hook (disable auto-fill-mode))
(add-hook 'erc-mode-hook (disable company-mode))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Keybindings
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;