summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-20 15:23:21 +0300
committerThanos Apollo <[email protected]>2024-07-20 15:23:21 +0300
commit63537e50b62ffe991e279dee4e2147cdc0c4d2bf (patch)
tree830c1caba33ccb8230126ec54ab6442dea053be4
parent61f9fc369dab1af67e20ba8f375a3c4888e484f3 (diff)
emacs: erc: Make thanos/erc-login interactive
-rw-r--r--.config/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 8a0dc46..8dfc9d0 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -833,7 +833,7 @@ By default, returns all jabber related buffers format."
("C-b" . 'jabber-switch-to-buffer)))
(use-package erc
- :defer t
+ :ensure t
:config
(unless (expand-file-name "erc" user-emacs-directory)
(make-directory (expand-file-name "erc" user-emacs-directory)))
@@ -844,6 +844,7 @@ By default, returns all jabber related buffers format."
erc-log-channels-directory (expand-file-name "erc" user-emacs-directory))
(defun thanos/erc-login ()
+ (interactive)
"Login to libera.chat"
(erc-tls :server "irc.libera.chat" :port 6697
:nick "thanosapollo"