emacs: add back my znc fork
authorAmin Bandali <mab@gnu.org>
Thu, 23 Jan 2020 23:04:52 +0000 (18:04 -0500)
committerAmin Bandali <mab@gnu.org>
Thu, 23 Jan 2020 23:04:52 +0000 (18:04 -0500)
emacs-znc-git is from my guix-mab channel

.config/guix/manifest/chaman.scm
.emacs.d/init.el

index 596d1cd..b312573 100644 (file)
@@ -53,6 +53,7 @@
     "emacs-web-mode"
     "emacs-which-key"
     "emacs-yasnippet"
+    "emacs-znc-git"
     "font-adobe-source-code-pro"
     "font-gnu-freefont-ttf"
     "font-google-roboto"
index 4219bdf..539b045 100644 (file)
@@ -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)))))))
 
 \f
 ;;; Post initialization