summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
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)