]> git.eshelyaron.com Git - emacs.git/commitdiff
2008-12-21 Carsten Dominik <dominik@science.uva.nl>
authorCarsten Dominik <dominik@science.uva.nl>
Sun, 21 Dec 2008 10:03:15 +0000 (10:03 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Sun, 21 Dec 2008 10:03:15 +0000 (10:03 +0000)
        * org-export-latex.el (org-export-latex-special-chars): Handle
          case where there is no match group 3.

lisp/org/ChangeLog
lisp/org/org-export-latex.el

index e4277f8110d171fe297121479a902ce54a963263..d46d2da6f7aa97001236c0665f6c78b0057474aa 100644 (file)
@@ -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  <carsten.dominik@gmail.com>
 
index 2d816529da8e011706f7fa8275ca219d074d2315..78a5f9d1859ff374440df48d9c85fa765cf68ea4 100644 (file)
@@ -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