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