| Paste number 134057: | auto-rejoin |
| Pasted by: | ilisp |
| When: | 5 years, 1 month ago |
| Share: | Tweet this! | http://paste.lisp.org/+2VFT |
| Channel: | None |
| Paste contents: |
(defun auto-rejoin(buffer)
(let ((bn (buffer-name buffer)))
(run-at-time "0.1 sec" nil
(lambda (bn)
(set-buffer bn)
(erc-join-channel bn))
bn)))
(add-hook 'erc-kick-hook 'auto-rejoin)This paste has no annotations.