summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2020-01-23 18:04:52 -0500
committerAmin Bandali <mab@gnu.org>2020-01-23 18:04:52 -0500
commit925481f2c29c853b6829dd797733da5bf2521972 (patch)
tree14bf28647dde272cd9820a9627e1a7efcf0cae70 /.emacs.d
parentcbacd9ade76e409f316d9c3fc727bdb8ad5f9d0f (diff)
downloadconfigs-925481f2c29c853b6829dd797733da5bf2521972.tar.gz
configs-925481f2c29c853b6829dd797733da5bf2521972.tar.xz
configs-925481f2c29c853b6829dd797733da5bf2521972.zip
emacs: add back my znc fork
emacs-znc-git is from my guix-mab channel
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el31
1 files changed, 15 insertions, 16 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4219bdf..539b045 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2726,22 +2726,21 @@ https://csclub.uwaterloo.ca/~abandali")
(use-package erc-scrolltoplace
:after erc)
-;; (use-package znc
-;; :straight (:host nil :repo "https://git.shemshak.org/amin/znc.el")
-;; :bind (("C-c a e e" . znc-erc)
-;; ("C-c a e a" . znc-all))
-;; :config
-;; (let ((pwd (let ((auth (auth-source-search :host "znca")))
-;; (cond
-;; ((null auth) (error "Couldn't find znca's authinfo"))
-;; (t (funcall (plist-get (car auth) :secret)))))))
-;; (setq znc-servers
-;; `(("znc.shemshak.org" 1337 t
-;; ((freenode "amin/freenode" ,pwd)))
-;; ("znc.shemshak.org" 1337 t
-;; ((moznet "amin/moznet" ,pwd)))
-;; ("znc.shemshak.org" 1337 t
-;; ((oftc "amin/oftc" ,pwd)))))))
+(use-package znc
+ :bind (("C-c a e e" . znc-erc)
+ ("C-c a e a" . znc-all))
+ :config
+ (let ((pwd (let ((auth (auth-source-search :host "znca")))
+ (cond
+ ((null auth) (error "Couldn't find znca's authinfo"))
+ (t (funcall (plist-get (car auth) :secret)))))))
+ (setq znc-servers
+ `(("znc.shemshak.org" 1337 t
+ ((freenode "amin/freenode" ,pwd)))
+ ("znc.shemshak.org" 1337 t
+ ((moznet "amin/moznet" ,pwd)))
+ ("znc.shemshak.org" 1337 t
+ ((oftc "amin/oftc" ,pwd)))))))
;;; Post initialization