From 279ff7bc2011bc23e581577ddcc7b209cf7cd0bd Mon Sep 17 00:00:00 2001 From: chasberry Date: Thu, 13 Nov 2014 20:55:36 -0800 Subject: [PATCH 3/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)