From 6f8bb3bd5defbe1901392a0c956bd856f0a7d088 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 14 Aug 2011 16:40:45 +0200 Subject: [PATCH] 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. --- lisp/org-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index bd9c1138c..c77e0c68f 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -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) -- 2.11.4.GIT