Created
September 14, 2009 16:40
-
-
Save kidd/186764 to your computer and use it in GitHub Desktop.
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
(defvar erc-read-only-channels | |
'("#emacs-es") | |
"Lista de canales read-only.") | |
(defun erc-toggle-read-only () | |
(when (member (buffer-name) erc-read-only-channels) | |
(toggle-read-only 1))) | |
(add-hook 'erc-join-hook 'erc-toggle-read-only) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment