forked from mirrors/org-mode
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.
This commit is contained in:
parent
5496f5277f
commit
487f39efa6
|
@ -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'"))))
|
||||
|
|
Loading…
Reference in New Issue