lisp/ox.el: Enable removable inline src results
* lisp/ox.el: (org-export-as): Treat `results' as an `identity' macro with one argument after Babel executes.
This commit is contained in:
parent
f7a1e23d20
commit
638cde3ac9
|
@ -2876,7 +2876,8 @@ Return code as a string."
|
|||
;; EMAIL is not a parsed keyword: store it as-is.
|
||||
(cons "email" (or (plist-get info :email) ""))
|
||||
(cons "title"
|
||||
(org-element-interpret-data (plist-get info :title))))
|
||||
(org-element-interpret-data (plist-get info :title)))
|
||||
(cons "results" "$1"))
|
||||
'finalize)
|
||||
;; Parse buffer.
|
||||
(setq tree (org-element-parse-buffer nil visible-only))
|
||||
|
|
Loading…
Reference in New Issue