This commit is contained in:
Bastien Guerry 2014-03-13 19:07:50 +01:00
parent 0cf58595d7
commit 5ef5e7119f
1 changed files with 2 additions and 2 deletions

View File

@ -737,10 +737,10 @@ with \",*\", \",#+\", \",,*\" and \",,#+\"."
(unless (or single preserve-indentation (= total-nindent 0))
(setq indent (make-string total-nindent ?\ ))
(goto-char (point-min))
(while (re-search-forward "^" nil t)
(while (and (not (eobp)) (re-search-forward "^" nil t))
(if (not (looking-at "$"))
(replace-match indent)
(or (eobp) (forward-char 1)))))
(forward-char 1))))
(if (org-bound-and-true-p org-edit-src-picture)
(setq total-nindent (+ total-nindent 2)))
(setq code (buffer-string))