From d5e21f43fccd74d90e77fa9cc5684b464d1ca82e Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 12 Mar 2012 08:40:43 -0400 Subject: [PATCH] Ensure correct order for empty result wrapping blocks. * lisp/ob.el (org-babel-insert-result): Ensure correct order for empty result wrapping blocks. --- lisp/ob.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob.el b/lisp/ob.el index 97878fb0d..0129c83b7 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1835,9 +1835,9 @@ code ---- the results are extracted in the syntax of the source (setq results-switches (if results-switches (concat " " results-switches) "")) (flet ((wrap (start finish) - (goto-char beg) (insert (concat start "\n")) (goto-char end) (insert (concat finish "\n")) - (setq end (point-marker))) + (goto-char beg) (insert (concat start "\n")) + (goto-char end) (setq end (point-marker))) (proper-list-p (it) (and (listp it) (null (cdr (last it)))))) ;; insert results based on type (cond -- 2.11.4.GIT