branch: externals/org commit 180c1c37a9f3a6a955a023223dfe7246f3384aa2 Author: Matthew Trzcinski <m...@excalamus.com> Commit: Matthew Trzcinski <m...@excalamus.com>
ob-comint.el: Fix off-by-one error in async result * ob-comint.el (org-babel-comint-async-filter): Fix region returned after async calculation completes so that the trailing prompt ends in a space. Link: https://list.orgmode.org/18705dca9b8.f4f7e70c165671.6021704484862511...@excalamus.com/ --- lisp/ob-comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-comint.el b/lisp/ob-comint.el index 54bf5127e1..86c2bf7a76 100644 --- a/lisp/ob-comint.el +++ b/lisp/ob-comint.el @@ -273,7 +273,7 @@ STRING contains the output originally inserted into the comint buffer." (res-str-raw (buffer-substring ;; move point to beginning of indicator - (- (match-beginning 0) 1) + (match-beginning 0) ;; find the matching start indicator (cl-loop do (re-search-backward indicator)