4

I'm browsing with erc to some channels which are mainly used by bot request. Therefore the buffer size will scale up very fast. Since It's a read-only buffer I cannot empty it by hand. Is there a way to tell Emacs to empty a buffer if it reaches a specific size?

Drew
  • 77,472
  • 10
  • 114
  • 243
xetra11
  • 167
  • 7

1 Answers1

3

I just found erc-truncate-mode. You have to change this variable erc-max-buffer-size

Maximum size in chars of each ERC buffer. Used only when auto-truncation is enabled.

bertfred
  • 1,729
  • 1
  • 12
  • 24