From 749fc76c2daba5289f97744ed8546c0a1625cf90 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 19 Mar 2010 19:51:58 +0100 Subject: [PATCH] No extra newline after time planning line --- lisp/ChangeLog | 3 +++ lisp/org-latex.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dbfc6dc62..5b9ea8812 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-03-19 Carsten Dominik + * org-latex.el (org-export-latex-keywords): Start a new paragraph + after time keywords, do not add "\newline". + * org-html.el (org-export-as-html): Avoid double # in href. * org.el (org-refile-get-location): Catch an invalid target diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 1f697d535..582a58dce 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1517,9 +1517,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." (match-string 0)) t t) (save-excursion (beginning-of-line 1) - (unless (looking-at ".*\\\\newline[ \t]*$") + (unless (looking-at ".*\n[ \t]*\n") (end-of-line 1) - (insert "\\newline"))))) + (insert "\n"))))) (defun org-export-latex-fixed-width (opt) "When OPT is non-nil convert fixed-width sections to LaTeX."