From 638cde3ac9e49454450af40fca5663b0924eb155 Mon Sep 17 00:00:00 2001 From: Charles Berry Date: Thu, 29 Jan 2015 12:05:31 -0800 Subject: [PATCH] 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. --- lisp/ox.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index c83cc861b..ad3742c29 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -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)) -- 2.11.4.GIT