X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/1278d522a2b6776b619da3ee462f0b55193e3eb4..6bda705df3bcb5acc88cb844b7ea220de5d75cd8:/etc/custom.el 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 . "