summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-02-03 17:06:16 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2013-02-03 17:07:55 +0100
commit413a35f7f843f81d60826532c004cd86bb2b2dcd (patch)
tree6b3ea75b4b7e7233a44b7429f46ea38494f3ea11
parentcb1386ba39d4115a4fe05656bee2043272e8e3d8 (diff)
downloadorg-mode-413a35f7f843f81d60826532c004cd86bb2b2dcd.tar.gz
ob-exp: Fix code indentation after src block evaluation
* lisp/ob-exp.el (org-export-blocks-preprocess): Do not use `indent-code-rigidly' as it doesn't indent contents of strings.
-rw-r--r--lisp/ob-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index 105ed89..8e3889c 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -295,7 +295,7 @@ this template."
(goto-char match-start)
(indent-line-to ind))
;; Indent everything.
- (indent-code-rigidly match-start (point) ind)))))
+ (indent-rigidly match-start (point) ind)))))
(setq pos (line-beginning-position))
;; Cleanup markers.
(set-marker match-start nil)