diff --git a/doom.org b/doom.org index 28db0e6..4e215db 100644 --- a/doom.org +++ b/doom.org @@ -178,12 +178,12 @@ Automatic line wrap. Turn off auto-fill mode that add line breaks. #+begin_src emacs-lisp (auto-fill-mode -1) - (remove-hook 'text-mode-hook 'turn-on-auto-fill) - ;; turn on auto-fill for text-mode - (add-hook 'text-mode-hook 'turn-on-auto-fill) + (remove-hook 'text-mode-hook #'turn-on-auto-fill) (after! org ;; turn off auto-fill for org-mode (add-hook 'org-mode-hook 'turn-off-auto-fill)) + (after! auctex + (add-hook 'latex-mode-hook 'turn-off-auto-fill)) #+end_src ** Useful General Functions @@ -1860,7 +1860,7 @@ Add all named source blocks to =org-babel-library-of-babel= ([[file:emacs-librar #+begin_src emacs-lisp (after! org - (org-babel-lob-ingest "~/.config/literate-dotfiles/dotfiles/emacs-library-babel.org")) + (org-babel-lob-ingest "~/.config/literate-dotfiles/emacs-library-babel.org")) #+end_src @@ -3050,6 +3050,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf :END: #+begin_src emacs-lisp + (package! vimrc-mode) (package! poet-theme) (package! spice-mode) (package! org-pandoc-import