summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 6607e86..aebdbce 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -155,10 +155,10 @@ With a prefix, revert the effect of `geiser-mode-eval-last-sexp-to-buffer' "
geiser-mode-eval-last-sexp-to-buffer))
(str (geiser-eval--retort-result-str ret (when will-eval-to-buffer ""))))
(cond ((not will-eval-to-buffer) str)
- ((string= "" str))
(err (insert (format "%sERROR:%s"
geiser-mode-eval-to-buffer-prefix
(geiser-eval--error-str err))))
+ ((string= "" str))
(t (push-mark)
(insert (format "%s%s" geiser-mode-eval-to-buffer-prefix str))))))