summaryrefslogtreecommitdiff
path: root/misc/rubydb3x.el
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rubydb3x.el')
-rw-r--r--misc/rubydb3x.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/rubydb3x.el b/misc/rubydb3x.el
index 14e3dac83b..98ce1a1978 100644
--- a/misc/rubydb3x.el
+++ b/misc/rubydb3x.el
@@ -108,6 +108,8 @@ and source-file directory for your debugger."
(gud-def gud-print "p %e" "\C-p" "Evaluate ruby expression at point.")
(setq comint-prompt-regexp "^(rdb:-) ")
+ (if (boundp 'comint-last-output-start)
+ (set-marker comint-last-output-start (point)))
(set (make-local-variable 'paragraph-start) comint-prompt-regexp)
(run-hooks 'rubydb-mode-hook)
)