diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 9e4c8b1..00fd715 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1761,6 +1761,12 @@ following the source block." (progn ;; unnamed results line already exists (re-search-forward "[^ \f\t\n\r\v]" nil t) (beginning-of-line 1) + (while (looking-at-p "[ \t]*\\#\\+[Aa][Tt][Tt][Rr]_") + (end-of-line 1) + (setq end (point)) + (re-search-forward "[\n\r]" nil t) + (re-search-forward "[^ \f\t\n\r\v]" nil t) + (beginning-of-line 1)) (looking-at (concat org-babel-result-regexp "\n"))) (prog1 (point)