diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-02-03 17:06:16 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-02-03 17:07:55 +0100 |
commit | 413a35f7f843f81d60826532c004cd86bb2b2dcd (patch) | |
tree | 6b3ea75b4b7e7233a44b7429f46ea38494f3ea11 | |
parent | cb1386ba39d4115a4fe05656bee2043272e8e3d8 (diff) | |
download | org-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.el | 2 |
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) |