Procházet zdrojové kódy

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.
Nicolas Goaziou před 13 roky
rodič
revize
413a35f7f8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lisp/ob-exp.el

+ 1 - 1
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)