From a36fe62ebd484102ddd35471f10fa9109b4fb281 Mon Sep 17 00:00:00 2001 From: bard Date: Tue, 2 Apr 2024 13:34:05 -0400 Subject: combined files --- bard-emacs-modules/bard-emacs-circe.el | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 bard-emacs-modules/bard-emacs-circe.el (limited to 'bard-emacs-modules/bard-emacs-circe.el') diff --git a/bard-emacs-modules/bard-emacs-circe.el b/bard-emacs-modules/bard-emacs-circe.el deleted file mode 100644 index 6fb8513..0000000 --- a/bard-emacs-modules/bard-emacs-circe.el +++ /dev/null @@ -1,23 +0,0 @@ -(setq auth-sources '("~/.authinfo.gpg")) - -(defun my-fetch-password (&rest params) - (require 'auth-source) - (let ((match (car (apply 'auth-source-search params)))) - (if match - (let ((secret (plist-get match :secret))) - (if (functionp secret) - (funcall secret) - secret)) - (error "Password not found for %S" params)))) - -(defun my-nickserv-password (server) - (my-fetch-password :user "bardman" :machine "irc.libera.chat")) - -(setq circe-network-options - '(("Libera Chat" - :nick "bardman" - :channels ("#emacs" "##anime" "#gentoo") - :nickserv-password my-nickserv-password))) - - -(provide 'bard-emacs-circe) -- cgit v1.2.3