summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-04-19 22:54:06 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-04-19 22:54:06 +0200
commite882b19d81d2a330ef1d455bb475b8a3cf2739df (patch)
treeebab907e5f99469ece94b1cc9d22e0dc34838de8
parent2fa32669f6570adbca9bcf31ae5d310c68326bf4 (diff)
downloaddotfiles-e882b19d81d2a330ef1d455bb475b8a3cf2739df.tar.xz
Tweak new ERC 5.6 knobs
-rw-r--r--.emacs11
1 files changed, 8 insertions, 3 deletions
diff --git a/.emacs b/.emacs
index d2e522c..ff96318 100644
--- a/.emacs
+++ b/.emacs
@@ -699,10 +699,15 @@
(erc-use-auth-source-for-nickserv-password t)
(erc-user-full-name 'user-full-name)
:config
+ (if (version< erc-version "5.6-git")
+ (my/setopt
+ erc-modules
+ (my/list-update erc-modules '(log notifications) '(fill)))
+ (my/setopt
+ erc-fill-function 'erc-fill-wrap
+ erc-log-filter-function 'erc-stamp-prefix-log-filter
+ erc-modules (my/list-update erc-modules '(log notifications))))
(my/setopt
- erc-modules
- (my/list-update erc-modules
- '(log notifications) '(fill))
erc-track-exclude-types
(my/list-update erc-track-exclude-types
'("JOIN" "PART" "QUIT"))))