From d8aa48f77bb945e3f06ea6c42cbfdcf4db151896 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 11 Jan 2012 19:43:00 -0700 Subject: [PATCH] capitalize RESULTS in :wrap'd code block results * lisp/ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd code block results. --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 5d983489d..2121992df 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1758,7 +1758,7 @@ code ---- the results are extracted in the syntax of the source ;; possibly wrap result (cond ((assoc :wrap (nth 2 info)) - (let ((name (or (cdr (assoc :wrap (nth 2 info))) "results"))) + (let ((name (or (cdr (assoc :wrap (nth 2 info))) "RESULTS"))) (wrap (concat "#+BEGIN_" name) (concat "#+END_" name)))) ((member "html" result-params) (wrap "#+BEGIN_HTML" "#+END_HTML")) -- 2.11.4.GIT