From 6bda705df3bcb5acc88cb844b7ea220de5d75cd8 Mon Sep 17 00:00:00 2001
From: Amin Bandali <bandali@gnu.org>
Date: Sun, 21 Oct 2018 11:57:02 -0400
Subject: [PATCH 1/1] [emacs] use-package ox-beamer, mark
 org-beamer-export-to-latex safe

---
 etc/custom.el | 3 ++-
 init.org      | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/etc/custom.el b/etc/custom.el
index e9965bf..73b2ffd 100644
--- a/etc/custom.el
+++ b/etc/custom.el
@@ -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 . "
 
diff --git a/init.org b/init.org
index a83eb37..84d1ae2 100644
--- 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))
 
-- 
2.20.1