From b3e1998eb5592a74b7d8d91858bc2da8121d0bf5 Mon Sep 17 00:00:00 2001 From: chasberry Date: Wed, 21 Jan 2015 18:08:58 -0800 Subject: [PATCH 1/3] 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 8880e10..3d5c7f2 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -2884,7 +2884,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)) -- 1.9.3 (Apple Git-50)