Ensure inserted images are non-whitespace characters.

This is intended to fix #149.
This commit is contained in:
John Miller 2016-12-14 13:02:21 -06:00
parent a96fd5d0bd
commit d85717bd24

View file

@ -165,8 +165,8 @@ See also: https://github.com/tkf/emacs-ipython-notebook/issues/94"
(if ein:slice-image
(destructuring-bind (&optional rows cols)
(when (listp ein:slice-image) ein:slice-image)
(insert-sliced-image img nil nil (or rows 20) cols))
(insert-image img))))
(insert-sliced-image img "." nil (or rows 20) cols))
(insert-image img "."))))
;;; Cell classes