Truncate lines in shared output buffer

This commit is contained in:
Takafumi Arakaki 2012-06-08 19:02:11 +02:00
parent aa3647c84c
commit 01930305bd

View file

@ -129,6 +129,12 @@ Create a cell if the buffer has none."
(let ((map ein:shared-output-mode-map))
(define-key map "\M-." 'ein:pytools-jump-to-source-command))
(add-hook 'ein:shared-output-mode-hook 'ein:truncate-lines-on)
(defun ein:truncate-lines-on ()
"Set `truncate-lines' on (set it to `t')."
(setq truncate-lines t))
(provide 'ein-shared-output)