From 772c76e130ad344564c6996952d87eb3c5e1c5d3 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 23 Jun 2021 15:19:23 -0400 Subject: [PATCH] Update ERC configuration --- README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.org b/README.org index 0735b2d..21211e5 100644 --- a/README.org +++ b/README.org @@ -1856,6 +1856,11 @@ ERC[fn:45] 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 `erc-fill-column'. +(add-hook 'window-configuration-change-hook + '(lambda () + (setq erc-fill-column (- (window-width) 12)))) + ;; Connect to IRC via `erc'. (defun dotfiles/erc-connect () "Connected to IRC via `erc'."