summaryrefslogtreecommitdiff
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
commit0494aacaefd8b37ef012227cb28317a8c427d085 (patch)
tree862c1345b4fea2c442c5e2cef9e06e056af99be6
parent58aaace4ef59ac55fb61b49b681307231c8fd1e3 (diff)
downloadgeiser-guile-0494aacaefd8b37ef012227cb28317a8c427d085.tar.gz
geiser-guile-0494aacaefd8b37ef012227cb28317a8c427d085.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).
-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)