jupyter-repl-eval-string: Fix out of place else condition in if

This commit is contained in:
Nathaniel Nicandro 2018-10-18 12:33:41 -05:00
parent 19c8d9c58c
commit 6d4efb9823

View file

@ -2189,7 +2189,7 @@ to the above explanation."
(jupyter-message-get msg :data)
(jupyter-message-get msg :metadata))
(goto-char (point-min))
(display-buffer (current-buffer))))
(display-buffer (current-buffer)))
(setq res (ansi-color-apply res))
(if (cl-loop
with nlines = 0
@ -2200,7 +2200,7 @@ to the above explanation."
(goto-char (point-min))
(display-buffer (current-buffer)))
(if (equal res "") (message "jupyter: eval done")
(message "%s" res))))))
(message "%s" res)))))))
:error
(lambda (msg)
(jupyter-with-message-content msg (traceback)