summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-29 19:26:28 +0300
committerThanos Apollo <[email protected]>2024-07-29 19:26:28 +0300
commit43c44cf5e24b141bbe80be95805e8115a02b45a4 (patch)
tree4e0a6384e82d85b4465b8d77a21977a8c25951fc /.config
parent860fb6578f14649ae09d054a032df3d34c021e6b (diff)
fix: Require ox-latex to fix loading org-latex-classes
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el3
1 files changed, 1 insertions, 2 deletions
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)