This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun erc-needs-tunnel () | |
(string= (call-config-script "erc-needs-tunnel.sh") "true")) | |
(defun erc-default-nick () (if (at-work) "<user1>" "<user2>")) | |
;; Have erc use a socks proxy when I'm at work to bypass the firewall | |
(when (and (erc-needs-tunnel) | |
(require 'socks nil t)) | |
;; !!! fix | |
;; I shouldn't need this next line, but if I don't have it I get an error when I try |