[emacs] use-package ox-beamer, mark org-beamer-export-to-latex safe
authorAmin Bandali <bandali@gnu.org>
Sun, 21 Oct 2018 15:57:02 +0000 (11:57 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 21 Oct 2018 15:57:02 +0000 (11:57 -0400)
etc/custom.el
init.org

index e9965bf..73b2ffd 100644 (file)
@@ -49,7 +49,8 @@
         (name . "^\\*Messages\\*$"))))))
  '(org-latex-packages-alist '(("" "listings") ("" "color")))
  '(safe-local-variable-values
-   '((eval setq org-latex-prefer-user-labels t)
+   '((eval add-hook 'after-save-hook 'org-beamer-export-to-latex t t)
+     (eval setq org-latex-prefer-user-labels t)
      (eval add-hook 'after-save-hook 'org-latex-export-to-latex t t)
      (org-hugo-footer . "
 
index a83eb37..84d1ae2 100644 (file)
--- a/init.org
+++ b/init.org
@@ -708,6 +708,8 @@ In short, my favourite way of life.
                  ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                t))
 
+(use-package ox-beamer)
+
 (use-package org-notmuch
   :after (:any org notmuch))