From 413a35f7f843f81d60826532c004cd86bb2b2dcd Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 3 Feb 2013 17:06:16 +0100 Subject: [PATCH] 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. --- lisp/ob-exp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index 105ed89da..8e3889c26 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)