diff options
author | Leonardo Santiago <[email protected]> | 2024-10-11 10:17:28 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-10-11 10:17:28 -0300 |
commit | a7509293647e78949e2780d8359e1b3690682d3b (patch) | |
tree | 505853ddb473f564c36996daef15197ce2e27a2e | |
parent | 16dda2a92d2f8e145f36bf609a5deb1b34feef32 (diff) |
fix compilation mode
-rw-r--r-- | flake.lock | 8 | ||||
-rw-r--r-- | modules/emacs/README.org | 7 |
2 files changed, 6 insertions, 9 deletions
@@ -159,11 +159,11 @@ "nixpkgs_old": "nixpkgs_old" }, "locked": { - "lastModified": 1727799934, - "narHash": "sha256-89CKOrqXU5tpWt9ek7uf8WMtyxxeqaYXXWy19pM0sHg=", + "lastModified": 1727782603, + "narHash": "sha256-UmewZwqbKUNMDnm+llE5dftOIUr/nsjXZTYYkoOXYqc=", "ref": "refs/heads/master", - "rev": "29b065d73e54e884ee8233f82e77b8e14deb2b46", - "revCount": 66086, + "rev": "fbe08b1c26cabc5a5816bf0d44623588205ec287", + "revCount": 66077, "type": "git", "url": "ssh://[email protected]/mixrank/mixrank" }, diff --git a/modules/emacs/README.org b/modules/emacs/README.org index bca3cc2..f4aafee 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -217,11 +217,8 @@ Completion popup system ** Compilation Add support for ansi escape codes in compilation #+begin_src emacs-lisp :tangle yes -(use-package xterm-color - :custom (compilation-environment '("TERM=xterm-256color"))) -(defun my/advice-compilation-filter (f proc string) - (funcall f proc (xterm-color-filter string))) -(add-hook 'compilation-filter-hook #'my/advice-compilation-filter) +(use-package ansi-color + :hook (compilation-filter . ansi-color-compilation-filter)) #+end_src ** Pdf reader |