diff options
| author | Carsten Dominik | 2008-12-21 10:03:15 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2008-12-21 10:03:15 +0000 |
| commit | e9aab93b7a13328fce6d26f9df74b92eaa8ff32c (patch) | |
| tree | 36e3d980a263fe4ac92c4dc05968cbf8024b8981 | |
| parent | 6671980fe247e820339af10a1f07bdf9c72eee42 (diff) | |
| download | emacs-e9aab93b7a13328fce6d26f9df74b92eaa8ff32c.tar.gz emacs-e9aab93b7a13328fce6d26f9df74b92eaa8ff32c.zip | |
2008-12-21 Carsten Dominik <dominik@science.uva.nl>
* org-export-latex.el (org-export-latex-special-chars): Handle
case where there is no match group 3.
| -rw-r--r-- | lisp/org/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/org/org-export-latex.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index e4277f8110d..d46d2da6f7a 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | * org-export-latex.el (org-export-latex-make-header): Double the | 3 | * org-export-latex.el (org-export-latex-make-header): Double the |
| 4 | commenting % in the time stamp format. | 4 | commenting % in the time stamp format. |
| 5 | (org-export-latex-special-chars): Handle case where there is no | ||
| 6 | match group 3. | ||
| 5 | 7 | ||
| 6 | 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com> | 8 | 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com> |
| 7 | 9 | ||
diff --git a/lisp/org/org-export-latex.el b/lisp/org/org-export-latex.el index 2d816529da8..78a5f9d1859 100644 --- a/lisp/org/org-export-latex.el +++ b/lisp/org/org-export-latex.el | |||
| @@ -913,7 +913,8 @@ See the `org-export-latex.el' code for a complete conversion table." | |||
| 913 | (replace-match (or (save-match-data | 913 | (replace-match (or (save-match-data |
| 914 | (org-export-latex-treat-backslash-char | 914 | (org-export-latex-treat-backslash-char |
| 915 | (match-string 1) | 915 | (match-string 1) |
| 916 | (match-string 3))) "") t t)) | 916 | (or (match-string 3) ""))) |
| 917 | "") t t)) | ||
| 917 | ((member (match-string 2) '("_" "^")) | 918 | ((member (match-string 2) '("_" "^")) |
| 918 | (replace-match (or (save-match-data | 919 | (replace-match (or (save-match-data |
| 919 | (org-export-latex-treat-sub-super-char | 920 | (org-export-latex-treat-sub-super-char |