~emersion/soju-dev

contrib/clients: update information on ERC for Emacs v1 APPLIED

Tomasz Hołubowicz: 1
 contrib/clients: update information on ERC for Emacs

 1 files changed, 2 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/soju-dev/patches/49737/mbox | git am -3
Learn more about email & git

[PATCH] contrib/clients: update information on ERC for Emacs Export this patch

---
 contrib/clients.md | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/contrib/clients.md b/contrib/clients.md
index 95ec7ff..f0cca00 100644
--- a/contrib/clients.md
+++ b/contrib/clients.md
@@ -17,16 +17,15 @@ properly.

## Erc

You need to explicitly set the username, which is the defcustom
`erc-email-userid`.
Create an interactive function for connecting:

```elisp
(setq erc-email-userid "<username>/irc.libera.chat") ;; Example with Libera.Chat
(defun run-erc ()
  (interactive)
  (erc-tls :server "<server>"
           :port 6697
           :nick "<nick>"
           :user "<username>/irc.libera.chat"
           :password "<password>"))
```

-- 
2.43.2
Pushed with a minor edit to keep the ";; Example with Libera.Chat" comment.
Thanks!