summaryrefslogtreecommitdiff
path: root/elisp/geiser-debug.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2020-02-13 02:44:41 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2020-02-13 02:44:41 +0000
commitec22d9c1fc38fe3b38ec3d552a9e862864cc8f19 (patch)
treec77cb68f718a4f76e09f5a468a6d05d5c32e2060 /elisp/geiser-debug.el
parent659d586f6f0695ada311c0f7ac8eb5796ab0e395 (diff)
downloadgeiser-ec22d9c1fc38fe3b38ec3d552a9e862864cc8f19.tar.gz
geiser-ec22d9c1fc38fe3b38ec3d552a9e862864cc8f19.tar.bz2
Proper wrapping of final comment lines (fixes #292)
Thanks a lot Sean Delvin for a great bug report which, moreover, contained the solution to the problem! (even though i'm risking a small modification).
Diffstat (limited to 'elisp/geiser-debug.el')
-rw-r--r--elisp/geiser-debug.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-debug.el b/elisp/geiser-debug.el
index 07ac98a..130594f 100644
--- a/elisp/geiser-debug.el
+++ b/elisp/geiser-debug.el
@@ -1,6 +1,6 @@
;;; geiser-debug.el -- displaying debug information and evaluation results
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2020 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -174,7 +174,7 @@ buffer.")
(message "=> %s" dbg)))))))
(defsubst geiser-debug--wrap-region (str)
- (format "(begin %s)" str))
+ (format "(begin %s\n)" str))
(defun geiser-debug--unwrap (str)
(if (string-match "(begin[ \t\n\v\r]+\\(.+\\)*)" str)