about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-06-09 21:48:31 -0500
committerCase Duckworth2021-06-09 21:48:31 -0500
commit7071871ce4617412cd2f648822ae6fcce9b94bf0 (patch)
treeb679a640b007757ba979950da54d0060b57e0694
parentAdd browse-url functions (diff)
downloademacs-7071871ce4617412cd2f648822ae6fcce9b94bf0.tar.gz
emacs-7071871ce4617412cd2f648822ae6fcce9b94bf0.zip
Load erc module after erc
-rw-r--r--init.el23
1 files changed, 17 insertions, 6 deletions
diff --git a/init.el b/init.el index 48dd80c..77d7c62 100644 --- a/init.el +++ b/init.el
@@ -336,12 +336,23 @@
336 erc-track-mode 336 erc-track-mode
337 erc-truncate-mode) 337 erc-truncate-mode)
338 338
339 ;; (setup (:straight erc-hl-nicks) 339 (with-eval-after-load 'erc
340 ;; (with-eval-after-load 'erc 340 (setup (:straight erc-hl-nicks)
341 ;; (require 'erc-hl-nicks) 341 (:option (append erc-modules) 'hl-nicks
342 ;; (:option erc-hl-nicks-minimum-contrast-ratio 4.5) 342 erc-hl-nicks-minimum-contrast-ratio 4.5
343 ;; (:hook-into erc-mode))) 343 erc-hl-nicks-color-contrast-strategy '(invert contrast))
344 ) 344 (:hook-into erc-mode)
345 ;; Refresh nick colors after changing modus theme
346 ;; Ideally, there'd be a hook for /any/ time we changed theme... but
347 ;; whatever.
348 (add-hook 'modus-themes-after-load-theme-hook
349 #'erc-hl-nicks-refresh-colors))
350
351 (setup (:straight erc-image)
352 (:option (append erc-modules) 'image
353 erc-image-inline-rescale 'window))
354
355 (erc-update-modules)))
345 356
346(setup eshell 357(setup eshell
347 (:also-load acdw-eshell 358 (:also-load acdw-eshell