From 397852d196c98c33f45f55e500e3dea1fd7a1b20 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Mon, 27 Jul 2020 02:38:13 +0200 Subject: [PATCH] Added functions to connect to irc networks using erc --- config.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config.org b/config.org index 85433d0..5288bbd 100644 --- a/config.org +++ b/config.org @@ -349,6 +349,19 @@ Including indent-buffer, which should not be called automatically on save." (setq erc-nick name) #+END_SRC + Now, erc is annoying as shit for default servers. So here i define + a few functions to quickly connect to them + #+BEGIN_SRC emacs-lisp + (defun erc/freenode () + (interactive) + (erc :server "irc.freenode.org" :nick "qorg11")) + (defun erc/rizon () + (interactive) + (erc :server "irc.rizon.net" :nick "qorg11")) + (defun erc/kill9 () + (interactive) + (erc :server "kill-9.xyz" :nick "qorg11")) + #+END_SRC ** Extra functions Here I put functions I won't bother to document because they're so simple.