[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!