summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 72f4cd7..4eefc0b 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -637,10 +637,13 @@
(use-package erc
:defer t
:config
+ (unless (expand-file-name "erc" user-emacs-directory)
+ (make-directory (expand-file-name "erc" user-emacs-directory)))
(setf erc-modules
'(sasl netsplit fill button match track completion readonly
networks ring autojoin noncommands irccontrols move-to-prompt stamp
- menu list))
+ menu list log notifications)
+ erc-log-channels-directory (expand-file-name "erc" user-emacs-directory))
:bind (("C-c E" . 'erc-libera)
:map erc-mode-map
("C-c RET" . 'erc-cmd-QUERY)))