summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-28 04:19:09 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-28 04:19:09 +0100
commitab63255f7dbb1a4eed6f00d5c08309b169a166f3 (patch)
tree8ea88478fff978d74302a318e566f3b6d6d86b94
parentfe8de4b31e916c1f1883826cade2c8dc310afe48 (diff)
downloadgeiser-guile-ab63255f7dbb1a4eed6f00d5c08309b169a166f3.tar.gz
geiser-guile-ab63255f7dbb1a4eed6f00d5c08309b169a166f3.tar.bz2
Bug fix for postfix error message display in debug buffer
The message and the evaluated expression where getting mixed for Guile.
-rw-r--r--elisp/geiser-debug.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-debug.el b/elisp/geiser-debug.el
index 02b463e..0d76fde 100644
--- a/elisp/geiser-debug.el
+++ b/elisp/geiser-debug.el
@@ -126,7 +126,9 @@ buffer.")
(insert res)
(newline 2))
(setq jump (geiser-debug--display-error impl module key output))
- (when after (insert "\nExpression evaluated was:\n\n" what))
+ (when after
+ (goto-char (point-max))
+ (insert "\nExpression evaluated was:\n\n" what))
(goto-char (point-min)))
(when jump (geiser-debug--pop-to-buffer))))