aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:26:59 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:47:16 +0100
commitf89ebf476e3814bc3556752d67b75f0345b818dc (patch)
treee114bf79d0bd699c8b11a0c224f36b77bb3383bc /Emacs/.config/emacs
parent3550b34cc06d102412fb045d4cb04aec139d2a72 (diff)
downloaddotfiles-f89ebf476e3814bc3556752d67b75f0345b818dc.tar.gz
dotfiles-f89ebf476e3814bc3556752d67b75f0345b818dc.tar.bz2
dotfiles-f89ebf476e3814bc3556752d67b75f0345b818dc.zip
(Emacs)~minor changes
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org4
1 files changed, 4 insertions, 0 deletions
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