forked from mirrors/org-mode
Get rid of gratuitous newline after listing/minted environment.
Signed-off-by: Nick Dokos <nick@dokosmarshall.org>
This commit is contained in:
parent
707897c25c
commit
7f913bc816
|
@ -2689,11 +2689,11 @@ INDENT was the original indentation of the block."
|
||||||
(format "\\begin{%s}\n%s\\end{%s}\n"
|
(format "\\begin{%s}\n%s\\end{%s}\n"
|
||||||
custom-environment rtn custom-environment))
|
custom-environment rtn custom-environment))
|
||||||
(listings-p
|
(listings-p
|
||||||
(format "\\begin{%s}\n%s\\end{%s}\n"
|
(format "\\begin{%s}\n%s\\end{%s}"
|
||||||
"lstlisting" rtn "lstlisting"))
|
"lstlisting" rtn "lstlisting"))
|
||||||
(minted-p
|
(minted-p
|
||||||
(format
|
(format
|
||||||
"\\begin{minted}[%s]{%s}\n%s\\end{minted}\n"
|
"\\begin{minted}[%s]{%s}\n%s\\end{minted}"
|
||||||
(mapconcat #'make-option-string
|
(mapconcat #'make-option-string
|
||||||
org-export-latex-minted-options ",")
|
org-export-latex-minted-options ",")
|
||||||
backend-lang rtn)))))))
|
backend-lang rtn)))))))
|
||||||
|
|
Loading…
Reference in New Issue