# HG changeset patch # User Carsten Dominik # Date 1229853795 0 # Node ID 4655d81daa9af1f7511d6d421306b6234cadad07 # Parent fb40d63bb7615769d9ef601c1a150a285df1b272 2008-12-21 Carsten Dominik * org-export-latex.el (org-export-latex-special-chars): Handle case where there is no match group 3. diff -r fb40d63bb761 -r 4655d81daa9a lisp/org/ChangeLog --- a/lisp/org/ChangeLog Sun Dec 21 09:38:09 2008 +0000 +++ b/lisp/org/ChangeLog Sun Dec 21 10:03:15 2008 +0000 @@ -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 -r fb40d63bb761 -r 4655d81daa9a lisp/org/org-export-latex.el --- a/lisp/org/org-export-latex.el Sun Dec 21 09:38:09 2008 +0000 +++ b/lisp/org/org-export-latex.el Sun Dec 21 10:03:15 2008 +0000 @@ -913,7 +913,8 @@ (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