Fix export of long links in code examples

This commit is contained in:
Carsten Dominik 2010-02-02 06:32:26 +01:00
parent d7c63f6760
commit 05f7b57556
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2010-02-02 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-concatenate-multiline-links): The for
protectedness at beginning of match.
* org-latex.el (org-export-latex-fix-inputenc): Never leave the
AUTO as a coding system, instead default to utf8.

View File

@ -2035,7 +2035,7 @@ This is to make sure that the line-processing export backends
can work correctly."
(goto-char (point-min))
(while (re-search-forward "\\(\\(\\[\\|\\]\\)\\[[^]]*?\\)[ \t]*\n[ \t]*\\([^]]*\\]\\(\\[\\|\\]\\)\\)" nil t)
(org-if-unprotected
(org-if-unprotected-at (match-beginning 1)
(replace-match "\\1 \\3")
(goto-char (match-beginning 0)))))