Skip to content

Commit

Permalink
Attempt to fix #112 by inserting extra separator after next image.
Browse files Browse the repository at this point in the history
  • Loading branch information
gcv committed Sep 27, 2022
1 parent ef72f07 commit 2a64d23
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions julia-snail.el
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ evaluated in the context of MODULE."
;; check buffer size and insert separator as needed
(when (> (buffer-size) 0)
(goto-char (point-max))
(insert "\n"))
(insert "\n\n"))
(if (image-type-available-p 'imagemagick)
(let ((shortest (car
(-sort
Expand All @@ -1493,8 +1493,7 @@ evaluated in the context of MODULE."
(if shortest
(insert-image (create-image decoded-img 'imagemagick t :height (round (* 0.80 (window-pixel-height shortest)))))
(insert-image (create-image decoded-img 'imagemagick t))))
(insert-image (create-image decoded-img nil t)))
(insert "\n"))
(insert-image (create-image decoded-img nil t))))
(dolist (win (get-buffer-window-list mm-buf))
(set-window-point win (point-max)))
(read-only-mode 1)
Expand Down

0 comments on commit 2a64d23

Please sign in to comment.