From: Armaan Bhojwani Date: Wed, 19 May 2021 04:18:13 +0000 (-0400) Subject: Clean up Circe config X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=678932f4f36eda15abd16a0a1c0bfa2bf1b779a8 Clean up Circe config --- diff --git a/config.org b/config.org index 53feda3..209fd45 100644 --- a/config.org +++ b/config.org @@ -446,11 +446,6 @@ Some EWW enhancements. #+end_src ** IRC #+begin_src emacs-lisp - (use-package circe - :config - (enable-lui-track) - (enable-circe-color-nicks)) - (defun fetch-password (&rest params) (require 'auth-source) (let ((match (car (apply 'auth-source-search params)))) @@ -461,18 +456,22 @@ Some EWW enhancements. secret)) (error "Password not found for %S" params)))) - (setq circe-network-options - '(("pounce" - :host "irc.armaanb.net" - :nick "emacs" - :use-tls t - :port "6697" - :pass (lambda (fetch-password - :login "emacs" - :machine "irc.armaanb.net" - :port 6697)))) - - (circe "pounce") + (use-package circe + :config + (enable-lui-track) + (enable-circe-color-nicks) + (circe "pounce") + :custom + (circe-network-options . '(("pounce" + :host "irc.armaanb.net" + :nick "emacs" + :use-tls t + :port "6697" + :pass (lambda (fetch-password + :login "emacs" + :machine "irc.armaanb.net" + :port 6697))))) + (circe-default-part-message "goodbye!")) #+end_src * Emacs IDE ** Code cleanup