X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/1278d522a2b6776b619da3ee462f0b55193e3eb4..9455bb8ff3e6025156275ea64f59d6da4633830b:/etc/custom.el?ds=sidebyside diff --git a/etc/custom.el b/etc/custom.el index 3868db1..73b2ffd 100644 --- a/etc/custom.el +++ b/etc/custom.el @@ -25,7 +25,7 @@ ("dired" (mode . dired-mode)) ("org" - (name . "^.*org$")) + (mode . org-mode)) ("web" (or (mode . web-mode) @@ -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 . "