Skip to content

Commit

Permalink
Show hidden output as "."
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed May 16, 2012
1 parent ad05fa8 commit 507a895
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ein-cell.el
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ A specific node can be specified using optional ARGS."
(defvar ein:cell-output-dynamic nil)

(defun ein:cell-insert-output (index cell)
(unless (oref cell :collapsed)
(if (oref cell :collapsed)
(progn
(ein:insert-read-only ".")
(when (= (1+ index) (ein:cell-num-outputs cell))
(ein:insert-read-only "\n")))
(let ((out (nth index (oref cell :outputs)))
(dynamic ein:cell-output-dynamic))
(ein:case-equal (plist-get out :output_type)
Expand Down

0 comments on commit 507a895

Please sign in to comment.