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
commit93ac581d1c1e7e3380ea96d30501704a8b3cd57c (patch)
treeb6d2ac1c5510f64422d20eb7c0de8034656f6749 /elisp/geiser-plt.el
parentd66a492dca82ad4b99be9f5cb90dd306de8fe08e (diff)
downloadgeiser-93ac581d1c1e7e3380ea96d30501704a8b3cd57c.tar.gz
geiser-93ac581d1c1e7e3380ea96d30501704a8b3cd57c.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)