diff --git a/dskang.el b/dskang.el index f215a10..43f6931 100644 --- a/dskang.el +++ b/dskang.el @@ -207,3 +207,11 @@ ;; Ignore useless messages (setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE" "324" "329" "332" "333" "338" "353" "477")) + +;; Save ERC logs +(setq erc-log-insert-log-on-open nil) +(setq erc-log-channels-directory "~/.erc/logs/") +(setq erc-save-buffer-on-part nil + erc-save-queries-on-quit nil + erc-log-write-after-send t + erc-log-write-after-insert t) diff --git a/init.el b/init.el index e7305b3..225969d 100644 --- a/init.el +++ b/init.el @@ -40,3 +40,17 @@ ;; Load theme (load-theme 'solarized-dark t) + +;; Custom +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(erc-modules (quote (autojoin button completion fill irccontrols list log match menu move-to-prompt netsplit networks noncommands readonly ring stamp track)))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + )