Created
September 8, 2015 22:16
-
-
Save bbhoss/49d4372c26943ba5d048 to your computer and use it in GitHub Desktop.
How to truncate Alchemist's iex output
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
(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