From f89ebf476e3814bc3556752d67b75f0345b818dc Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 14 Sep 2022 00:26:59 +0100 Subject: (Emacs)~minor changes --- Emacs/.config/emacs/config.org | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 75c69c5..7773d23 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2091,6 +2091,8 @@ and when I don't. #+begin_src emacs-lisp (use-package flycheck :commands (flycheck-mode flycheck-list-errors) + :hook + (prog-mode-hook . flycheck-mode) :general (leader "tf" #'flycheck-mode @@ -2125,6 +2127,7 @@ Colourising the compilation buffer so ANSI colour codes get computed. :config (defun +compile/colourise () "Colourise the emacs compilation buffer." + (interactive) (let ((inhibit-read-only t)) (ansi-color-apply-on-region (point-min) (point-max)))) (add-hook 'compilation-filter-hook #'+compile/colourise)) @@ -2173,6 +2176,7 @@ There is no proper PDF viewing without this package. (display-buffer-same-window) (inhibit-duplicate-buffer . t)) :config + (pdf-tools-install-noverify) (with-eval-after-load "evil-collection" (evil-collection-pdf-setup))) #+end_src -- cgit v1.2.3-13-gbd6f