From 7f913bc8166f49652dec82bbb9a98fc2f556787a Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Fri, 19 Aug 2011 18:36:50 -0400 Subject: [PATCH] Get rid of gratuitous newline after listing/minted environment. Signed-off-by: Nick Dokos --- lisp/org-exp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index a2a2fb385..f795fbd02 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -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)))))))