No extra newline after time planning line

This commit is contained in:
Carsten Dominik 2010-03-19 19:51:58 +01:00
parent 2b14934fe8
commit 749fc76c2d
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2010-03-19 Carsten Dominik <carsten.dominik@gmail.com>
* 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

View File

@ -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."