|
|
@ -1608,18 +1608,6 @@ ERC[fn:43] is a powerful, modular, and extensible IRC client for GNU/Emacs[fn:2] |
|
|
|
erc-track-exclude-types '("JOIN" "NICK" "QUIT" "MODE") |
|
|
|
erc-lurker-hide-list '("JOIN" "PART" "QUIT")) |
|
|
|
|
|
|
|
;; Configure the `erc-fill-column' to use the full buffer. |
|
|
|
(make-variable-buffer-local 'erc-fill-column) |
|
|
|
(add-hook 'window-configuration-change-hook |
|
|
|
'(lambda () |
|
|
|
(save-excursion |
|
|
|
(walk-windows |
|
|
|
(lambda (w) |
|
|
|
(let ((buffer (window-buffer w))) |
|
|
|
(set-buffer buffer) |
|
|
|
(when (eq major-mode 'erc-mode) |
|
|
|
(setq erc-fill-column (- (window-width w) 2))))))))) |
|
|
|
|
|
|
|
;; Connect to IRC via `erc'. |
|
|
|
(defun dotfiles/erc-connect () |
|
|
|
"Connected to IRC via `erc'." |
|
|
|