From ec22d9c1fc38fe3b38ec3d552a9e862864cc8f19 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 13 Feb 2020 02:44:41 +0000 Subject: 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). --- elisp/geiser-debug.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elisp') 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) -- cgit v1.2.3