mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
Truncate lines in shared output buffer
This commit is contained in:
parent
aa3647c84c
commit
01930305bd
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue