Get rid of gratuitous newline after listing/minted environment.

Signed-off-by: Nick Dokos <nick@dokosmarshall.org>
This commit is contained in:
Nick Dokos 2011-08-19 18:36:50 -04:00 committed by Eric Schulte
parent 707897c25c
commit 7f913bc816
1 changed files with 2 additions and 2 deletions

View File

@ -2689,11 +2689,11 @@ INDENT was the original indentation of the block."
(format "\\begin{%s}\n%s\\end{%s}\n"
custom-environment rtn custom-environment))
(listings-p
(format "\\begin{%s}\n%s\\end{%s}\n"
(format "\\begin{%s}\n%s\\end{%s}"
"lstlisting" rtn "lstlisting"))
(minted-p
(format
"\\begin{minted}[%s]{%s}\n%s\\end{minted}\n"
"\\begin{minted}[%s]{%s}\n%s\\end{minted}"
(mapconcat #'make-option-string
org-export-latex-minted-options ",")
backend-lang rtn)))))))