From 10eed68f8d226303fcb70c72268034001127d57b Mon Sep 17 00:00:00 2001 From: Crazazy Date: Tue, 10 May 2022 09:28:01 +0200 Subject: auto-enable pdf-view-mode for pdf-tools --- emacs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.org b/emacs.org index a2a42f9..3d6e7cf 100644 --- a/emacs.org +++ b/emacs.org @@ -312,8 +312,8 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto I don't want to be at the mercy of my browser to figure out how to read a PDF #+begin_src emacs-lisp :tangle emacsconfig/extras.el (use-package pdf-tools - :mode - "\\.pdf$") + :config + (add-to-list 'auto-mode-alist '("\\.pdf$" . pdf-view-mode))) #+end_src ** Programming-related emacs tools I do computer science, so from now and then I tend to program a bit. Here are all the tools I use to accomplish -- cgit 1.4.1-2-gfad0