Created
March 8, 2012 19:14
-
-
Save dybber/2002774 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
; Hide certain messages from channel tracking | |
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE")) | |
; Hide these messages from all buffers | |
(setq erc-hide-list '("JOIN" "PART" "QUIT")) | |
(defun set-empty-hide-list-eggsml () | |
(if (equal "#eggsml" (buffer-name)) | |
(set (make-local-variable 'erc-hide-list) '()))) | |
; Avoid hiding anything in #eggsml | |
(add-hook 'erc-join-hook 'set-empty-hide-list-eggsml) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment