summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-27 21:10:09 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-27 21:10:09 +0100
commitc58f1093970c7fb90b44c98a7cc762453e9b7936 (patch)
tree17402646c8bdf87ea36e2b27a85e8b813a35a02a /elisp/geiser-plt.el
parent4ada7d2af871ed00c33f4a57cb0cc6d445acab3a (diff)
downloadgeiser-chez-c58f1093970c7fb90b44c98a7cc762453e9b7936.tar.gz
geiser-chez-c58f1093970c7fb90b44c98a7cc762453e9b7936.tar.bz2
PLT: Preserving pretty-printing in evaluation outputs.
Diffstat (limited to 'elisp/geiser-plt.el')
-rw-r--r--elisp/geiser-plt.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el
index 53177d3..4fd4de3 100644
--- a/elisp/geiser-plt.el
+++ b/elisp/geiser-plt.el
@@ -158,12 +158,12 @@ This function uses `geiser-plt-init-file' if it exists."
(when msg
(let ((p (point)))
(insert msg)
- (let ((end (point)))
+ (when key
+ (let ((end (point)))
(goto-char p)
(mapc 'geiser-plt--find-files geiser-plt--file-rxs)
(goto-char end)
- (fill-region p end)
- (newline))))
+ (newline)))))
t)