From 9514f0b3b63659df676b72442283c8b43cfbcadb Mon Sep 17 00:00:00 2001 From: Philipp Kroos Date: Wed, 22 Aug 2012 14:25:20 +0200 Subject: [PATCH] e-beamer: Fix a type-error with normalize-argument * org-e-beamer.el (org-e-beamer-template): Make sure `org-e-beamer--normalize-argument' is not called with `nil' when formatting the toc. The error occured when org-e-beamer-outline-frame-options has got no value (the default). --- contrib/lisp/org-e-beamer.el | 6 ++++-- 1 Datei geändert, 4 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/contrib/lisp/org-e-beamer.el b/contrib/lisp/org-e-beamer.el index af5b8ff..9096531 100644 --- a/contrib/lisp/org-e-beamer.el +++ b/contrib/lisp/org-e-beamer.el @@ -815,8 +815,10 @@ holding export options." (when depth (concat (format "\\begin{frame}%s{%s}\n" - (org-e-beamer--normalize-argument - org-e-beamer-outline-frame-options 'option) + (if org-e-beamer-outline-frame-options + (org-e-beamer--normalize-argument + org-e-beamer-outline-frame-options 'option) + "") org-e-beamer-outline-frame-title) (when (wholenump depth) (format "\\setcounter{tocdepth}{%d}\n" depth)) -- 1.7.11.4