branch: externals/org commit 487f39efa68fa2d857f8d446d1c4b3a3b3e3f482 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
org-babel-insert-result: Err on :results drawer inline src block * lisp/ob-core.el (org-babel-insert-result): Throw an error when trying to insert :results drawer in inline src blocks. --- lisp/ob-core.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 0270624013..63f83a2712 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2450,6 +2450,7 @@ INFO may provide the values of these header arguments (in the (when inline (let ((warning (or (and (member "table" result-params) "`:results table'") + (and (member "drawer" result-params) "`:results drawer'") (and result (listp result) "list result") (and result (string-match-p "\n." result) "multiline result") (and (member "list" result-params) "`:results list'"))))