From 43c44cf5e24b141bbe80be95805e8115a02b45a4 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 29 Jul 2024 19:26:28 +0300 Subject: fix: Require ox-latex to fix loading org-latex-classes --- .config/emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.config') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 3ff11b9..def9e17 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -270,6 +270,7 @@ ("b" . "src bash") ("q" . "QUOTE"))) + (require 'ox-latex) (add-to-list 'org-latex-classes '("article" "\\documentclass[11pt,a4paper]{article} @@ -302,7 +303,6 @@ ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}"))) - :hook ((org-mode . (lambda () (display-line-numbers-mode -1) (flyspell-mode)))) :bind (:map org-mode-map (("C-c l" . org-store-link) ("C-c M-t" . org-todo)))) @@ -383,7 +383,6 @@ (shell-command (format "%s %s %s" git "commit -m" (shell-quote-argument "Update org-roam notes"))) (vc-git-push nil)) (funcall 'org-roam-db-sync)) - :bind (("C-c n" . thanos/notes-map) :map thanos/notes-map ("t" . org-roam-buffer-toggle) -- cgit v1.2.3