diff --git a/README.org b/README.org index b1183bf..a61b50c 100644 --- a/README.org +++ b/README.org @@ -1,7 +1,7 @@ #+title: Doom Emacs Configuration --- [[https://tecosaur.github.io/emacs-config/config.html][HTML Version]], [[https://tecosaur.github.io/emacs-config/config.pdf][PDF]] #+author: tecosaur -#+html: +#+html: #+html: #+html: #+html: diff --git a/config.org b/config.org index 1c041ac..b59d799 100644 --- a/config.org +++ b/config.org @@ -3376,22 +3376,6 @@ about it? #+end_src ** File types -*** Authinfo - -My patch giving my patch giving =authinfo-mode= syntax highlighting is only -available in Emacs28+. For older versions, I've got a package I can use. -#+begin_src emacs-lisp :tangle (if (< emacs-major-version 28) "packages.el" "no") -(package! authinfo-color-mode - :recipe (:local-repo "lisp/authinfo-color-mode")) -#+end_src - -Now we just need to load it appropriately. -#+begin_src emacs-lisp :tangle (if (< emacs-major-version 28) "yes" "no") -(use-package! authinfo-color-mode - :mode ("authinfo.gpg\\'" . authinfo-color-mode) - :init (advice-add 'authinfo-mode :override #'authinfo-color-mode)) -#+end_src - *** Systemd For editing systemd unit files @@ -5386,7 +5370,8 @@ need to have a template assigned. It's nice to see ANSI colour codes displayed. However, until Emacs 28 it's not possible to do this without modifying the buffer, so let's condition this block on that. -#+begin_src emacs-lisp :tangle (if (>= emacs-major-version 28) "yes" "no") + +#+begin_src emacs-lisp (after! text-mode (add-hook! 'text-mode-hook (unless (derived-mode-p 'org-mode)