summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-11-23 12:24:34 -0700
committerEric Schulte <schulte.eric@gmail.com>2013-11-23 12:24:58 -0700
commit6a4dfd318296925b3b895ca6ab85e31309acf84d (patch)
tree9d5152c709b92dc46c8dd8e72337157762e6f4b0
parent1b0fb1a4846cdc767ec47115b7c7f26cff40b436 (diff)
downloadorg-mode-6a4dfd318296925b3b895ca6ab85e31309acf84d.tar.gz
fixed export of inline src blocks
* lisp/ob-exp.el (org-babel-exp-non-block-elements): Fixed export of inline src blocks.
-rw-r--r--lisp/ob-exp.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index 2f63590..0a8edc2 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -178,7 +178,9 @@ this template."
(end-el (org-element-property :end element)))
(case type
(inline-src-block
- (let* ((info (org-babel-parse-inline-src-block-match))
+ (let* ((head (match-beginning 0))
+ (info (append (org-babel-parse-inline-src-block-match)
+ (list nil nil head)))
(params (nth 2 info)))
(setf (nth 1 info)
(if (and (cdr (assoc :noweb params))