Skip to content

Instantly share code, notes, and snippets.

@dybber
Created March 8, 2012 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dybber/2002774 to your computer and use it in GitHub Desktop.
Save dybber/2002774 to your computer and use it in GitHub Desktop.
; 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