Don't apply ansi colours to Org files
This commit is contained in:
parent
4d57d6f157
commit
777b4844e4
|
@ -5188,9 +5188,10 @@ on that.
|
|||
#+begin_src emacs-lisp :tangle (if (>= emacs-major-version 28) "yes" "no")
|
||||
(after! text-mode
|
||||
(add-hook! 'text-mode-hook
|
||||
;; Apply ANSI color codes
|
||||
(with-silent-modifications
|
||||
(ansi-color-apply-on-region (point-min) (point-max) t))))
|
||||
(unless (derived-mode-p 'org-mode)
|
||||
;; Apply ANSI color codes
|
||||
(with-silent-modifications
|
||||
(ansi-color-apply-on-region (point-min) (point-max) t)))))
|
||||
#+end_src
|
||||
|
||||
** Org
|
||||
|
|
Loading…
Reference in New Issue