From: Carsten Dominik Date: Sun, 21 Dec 2008 10:03:15 +0000 (+0000) Subject: 2008-12-21 Carsten Dominik X-Git-Tag: emacs-pretest-23.0.90~924 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9aab93b7a13328fce6d26f9df74b92eaa8ff32c;p=emacs.git 2008-12-21 Carsten Dominik * org-export-latex.el (org-export-latex-special-chars): Handle case where there is no match group 3. --- 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 @@ * org-export-latex.el (org-export-latex-make-header): Double the commenting % in the time stamp format. + (org-export-latex-special-chars): Handle case where there is no + match group 3. 2008-12-20 Carsten Dominik 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." (replace-match (or (save-match-data (org-export-latex-treat-backslash-char (match-string 1) - (match-string 3))) "") t t)) + (or (match-string 3) ""))) + "") t t)) ((member (match-string 2) '("_" "^")) (replace-match (or (save-match-data (org-export-latex-treat-sub-super-char