org-latex.el: Only add one line break after exporting verbatim environments.

* org-latex.el (org-export-latex-fixed-width): Only add one
line break after exporting verbatim environments.

Thanks to Maik Beckmann for reporting this.
This commit is contained in:
Bastien Guerry 2011-08-14 16:40:45 +02:00
parent abe4965ce8
commit 6f8bb3bd5d
1 changed files with 1 additions and 1 deletions

View File

@ -1837,7 +1837,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
(replace-match (concat (match-string 1)
(match-string 2)) t t)
(forward-line))
(insert "\\end{verbatim}\n\n"))
(insert "\\end{verbatim}\n"))
(progn (goto-char (match-beginning 0))
(while (looking-at "^\\([ \t]*\\):\\(\\([ \t]\\|$\\).*\\)$")
(replace-match (concat "%" (match-string 1)