]> git.armaanb.net Git - config.org.git/commitdiff
Improve irc config
authorArmaan Bhojwani <me@armaanb.net>
Sun, 16 May 2021 23:32:49 +0000 (19:32 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 16 May 2021 23:32:49 +0000 (19:32 -0400)
config.org

index 3d8019686d626433b8c726938d760d8d3a94698c..57b8f8ca6455fa363aaaa5cf5574fd5f32571c50 100644 (file)
@@ -460,12 +460,19 @@ Some EWW enhancements.
     :straight (:type built-in)
     :config
     (load "~/.emacs.d/irc.el")
-    (acheam-irc)
-    (erc-notifications-enable)
-    (erc-smiley-disable))
+    (erc-notifications-mode 1)
+    (erc-smiley-disable)
+    :custom (erc-prompt-for-password . nil))
 
   (use-package erc-hl-nicks
     :config (erc-hl-nicks-mode 1))
+
+  (defun acheam-irc ()
+    "Connect to irc"
+    (interactive)
+    (erc-tls :server "irc.armaanb.net" :nick "emacs"))
+
+  (acheam-irc)
 #+end_src
 ** Emacs Anywhere
 Use Emacs globally. Use the Emacs daemon and bind a key in your wm to =emacsclient --eval "(emacs-everywhere)"=.