Browse Source

ox-beamer.el: Match latex backend in generation of \author.

* lisp/ox-beamer.el (org-beamer-template): Match latex backend in
generation of \author.
Aaron Ecay 10 years ago
parent
commit
7cf7e4454f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/ox-beamer.el

+ 1 - 2
lisp/ox-beamer.el

@@ -846,8 +846,7 @@ holding export options."
 		       (org-export-data (plist-get info :email) info))))
        (cond ((and author email (not (string= "" email)))
 	      (format "\\author{%s\\thanks{%s}}\n" author email))
-	     (author (format "\\author{%s}\n" author))
-	     (t "\\author{}\n")))
+	     ((or author email) (format "\\author{%s}\n" (or author email)))))
      ;; 6. Date.
      (let ((date (and (plist-get info :with-date) (org-export-get-date info))))
        (format "\\date{%s}\n" (org-export-data date info)))