X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/1278d522a2b6776b619da3ee462f0b55193e3eb4..2e7aa30f7e46eabf984adc1018d7ccbdfefecca8:/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 . "