Skip to content

Instantly share code, notes, and snippets.

@bbhoss
Created September 8, 2015 22:16
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 bbhoss/49d4372c26943ba5d048 to your computer and use it in GitHub Desktop.
Save bbhoss/49d4372c26943ba5d048 to your computer and use it in GitHub Desktop.
How to truncate Alchemist's iex output
(add-hook 'alchemist-iex-mode-hook
((lambda ()
(add-hook 'comint-output-filter-functions 'comint-truncate-buffer)
(setq comint-buffer-maximum-size 5000
comint-scroll-show-maximum-output t))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment