From 1ad6b5b864c2c73866ec6bebe3273ddfa4862b03 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 4 Apr 2010 16:19:49 +0200 Subject: [PATCH] Fix typo in `org-splice-latex-header'. --- lisp/ChangeLog | 4 ++++ lisp/org.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c55c123fd..629b8c0dc 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-04-04 Bastien Guerry + + * org.el (org-splice-latex-header): Fix typo. + 2010-04-04 Carsten Dominik * org-latex.el (org-export-latex-make-header): Use diff --git a/lisp/org.el b/lisp/org.el index ddad45f12..dbe0f6a55 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15313,7 +15313,7 @@ at the end. If EXTRA is a string, it is also appended." (if (string-match "\\[PACKAGES\\]" template) (setq template (replace-match (or packages "") t t template)) (setq template (concat template "\n" packages))) - (if (and extra (sring-match "\\S-" extra)) + (if (and extra (string-match "\\S-" extra)) (concat template "\n" extra) template)))